Skip to content

Commit

Permalink
fix(photos): invalid page API parameter generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed Jun 10, 2016
1 parent 7d373b5 commit 41240a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ app.get('/v1/albums/:album/photos', (req, res, next) => {
const qs = [];

if (req.query.page) {
qs.push(`${opts.url}?p=${req.query.page}`);
qs.push(`p=${req.query.page}`);
}

if (req.query.tags) {
Expand Down

0 comments on commit 41240a4

Please sign in to comment.