Skip to content

Commit d36586a

Browse files
committed
Updated package manifest fetch endpoint (#28)
1 parent 74a2cef commit d36586a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/packages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class PackageServiceProvider extends ServiceProvider {
7171

7272
this.core.singleton('osjs/packages', () => this.packages);
7373

74-
routeAuthenticated('GET', '/api/packages/manifest', (req, res) => {
74+
routeAuthenticated('GET', '/api/packages/metadata', (req, res) => {
7575
this.packages.readPackageManifests(req.query.root || [], req.session.user)
7676
.then(json => res.json(json))
7777
.catch(error => res.status(400).json({error}));

0 commit comments

Comments
 (0)