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 10, 2020
1 parent 74a2cef commit d36586a
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 @@ -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}));
Expand Down

0 comments on commit d36586a

Please sign in to comment.