From d36586a988d95e00bb77894ae77538728c0d98b6 Mon Sep 17 00:00:00 2001 From: Anders Evenrud Date: Sat, 11 Apr 2020 00:41:17 +0200 Subject: [PATCH] Updated package manifest fetch endpoint (#28) --- src/providers/packages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/packages.js b/src/providers/packages.js index d418082..b288e36 100644 --- a/src/providers/packages.js +++ b/src/providers/packages.js @@ -71,7 +71,7 @@ class PackageServiceProvider extends ServiceProvider { this.core.singleton('osjs/packages', () => this.packages); - routeAuthenticated('GET', '/api/packages/manifest', (req, res) => { + routeAuthenticated('GET', '/api/packages/metadata', (req, res) => { this.packages.readPackageManifests(req.query.root || [], req.session.user) .then(json => res.json(json)) .catch(error => res.status(400).json({error}));