mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-31 19:20:25 +00:00
try without unsubscribe
This commit is contained in:
parent
08ec9a510e
commit
223355fecb
1 changed files with 4 additions and 4 deletions
|
|
@ -38,10 +38,10 @@ module.exports.partySubscribe = partySubscribe = (model, cb) ->
|
|||
return cb()
|
||||
|
||||
finished = ->
|
||||
model.unsubscribe selfQ, ->
|
||||
selfQ.subscribe (err, self) ->
|
||||
model.ref '_user', self.at(0)
|
||||
cb()
|
||||
# model.unsubscribe selfQ, ->
|
||||
selfQ.subscribe (err, self) ->
|
||||
model.ref '_user', self.at(0)
|
||||
cb()
|
||||
|
||||
# User in a party
|
||||
partiesQ = model.query('parties').withId(uObj.party.current)
|
||||
|
|
|
|||
Loading…
Reference in a new issue