Skip to content

Commit

Permalink
Updated package manifest fetch endpoint (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Apr 11, 2020
1 parent 2fed1fb commit 3dbe6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}));
Expand Down

0 comments on commit 3dbe6bb

Please sign in to comment.