Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Fix private repo access (#446)
Browse files Browse the repository at this point in the history
* debug why private repo access does not work

* fix tests

* do benchmark

* fixes non-repo access problem
  • Loading branch information
prayerslayer authored Sep 15, 2016
1 parent 6dbf329 commit ea29dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/handler/UserHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class UserHandler {
}

onGet(userId) {
return User.findOne({id: userId})
return User.findOne({where: {id: userId}})
}

onChangeLevel(userId, access_level) {
Expand Down

0 comments on commit ea29dcf

Please sign in to comment.