up
This commit is contained in:
parent
a3067e79e1
commit
c094d8eed3
1 changed files with 3 additions and 0 deletions
|
|
@ -120,9 +120,12 @@ export default class {
|
||||||
|
|
||||||
triggerSubs(userId: string, op: Types.UserOperation) {
|
triggerSubs(userId: string, op: Types.UserOperation) {
|
||||||
const sub = this.paymentSubs[userId]
|
const sub = this.paymentSubs[userId]
|
||||||
|
const log = getLogger({ userId })
|
||||||
if (!sub) {
|
if (!sub) {
|
||||||
|
log("no sub found for user")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log("notifyng user of payment")
|
||||||
sub(op)
|
sub(op)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue