mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 00:12:17 +00:00
comment on accessControl failing
This commit is contained in:
parent
2bb4af286e
commit
d53668065d
1 changed files with 3 additions and 3 deletions
|
|
@ -89,9 +89,9 @@ get '/:uidParam?', (page, model, {uidParam}) ->
|
|||
getHabits = (page, model, userId) ->
|
||||
|
||||
model.subscribe "users.#{userId}", (err, user) ->
|
||||
console.log userId, 'userId'
|
||||
console.log err, 'err'
|
||||
console.log user.get(), '[debug] user'
|
||||
|
||||
console.log userId, 'userId' # = 26c48325-2fea-4e2e-a60f-a5fa28d7b410
|
||||
console.log err, 'err' # = Unauthorized: No access control declared for path users.26c48325-2fea-4e2e-a60f-a5fa28d7b410 ???
|
||||
|
||||
model.ref '_user', user
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue