mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
typo
This commit is contained in:
parent
6b0a443fc2
commit
7952cc71a1
1 changed files with 2 additions and 1 deletions
|
|
@ -300,7 +300,8 @@ ready (model) ->
|
|||
return
|
||||
query = model.query('users').friends([friendId])
|
||||
model.fetch query, (err, users) ->
|
||||
friend = users.get(0)
|
||||
friend = users.at(0).get()
|
||||
debugger
|
||||
if friend.id?
|
||||
user.push('friends', friendId)
|
||||
$('#add-friend-modal').modal('hide')
|
||||
|
|
|
|||
Loading…
Reference in a new issue