From 10c5be32f728d267258e463dd5c8e1abdaf693ff 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 2bf13a0..53feac6 100644 --- a/src/providers/packages.js +++ b/src/providers/packages.js @@ -72,7 +72,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}));