Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Commit

Permalink
Fix history pagination links. (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop authored Jun 21, 2017
1 parent 4575dc6 commit 71e0fbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/booth.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export default function boothRoutes() {
});
controller.getHistory(req.uwave, pagination)
.then(history => toPaginatedResponse(history, {
baseUrl: req.fullUrl,
included: {
media: ['media.media'],
user: ['user'],
Expand Down
1 change: 1 addition & 0 deletions src/routes/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export default function userRoutes() {
});
controller.getHistory(req.uwave, req.params.id, pagination)
.then(history => toPaginatedResponse(history, {
baseUrl: req.fullUrl,
included: {
media: ['media.media'],
user: ['user'],
Expand Down

0 comments on commit 71e0fbc

Please sign in to comment.