fix req id
This commit is contained in:
parent
49b8dd693c
commit
b30d727942
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ export default class {
|
||||||
const app = await this.storage.applicationStorage.GetApplication(event.appId)
|
const app = await this.storage.applicationStorage.GetApplication(event.appId)
|
||||||
const appUser = await this.storage.applicationStorage.GetApplicationUser(app, res.appUserId)
|
const appUser = await this.storage.applicationStorage.GetApplicationUser(app, res.appUserId)
|
||||||
if (res.status === 'authRequired') {
|
if (res.status === 'authRequired') {
|
||||||
const message: Types.LiveDebitRequest & { requestId: string, status: 'OK' } = { ...res.liveDebitReq, requestId: "GetLiveUserOperations", status: 'OK' }
|
const message: Types.LiveDebitRequest & { requestId: string, status: 'OK' } = { ...res.liveDebitReq, requestId: "GetLiveDebitRequests", status: 'OK' }
|
||||||
if (appUser.nostr_public_key) {// TODO - fix before support for http streams
|
if (appUser.nostr_public_key) {// TODO - fix before support for http streams
|
||||||
this.nostrSend({ type: 'app', appId: event.appId }, { type: 'content', content: JSON.stringify(message), pub: appUser.nostr_public_key })
|
this.nostrSend({ type: 'app', appId: event.appId }, { type: 'content', content: JSON.stringify(message), pub: appUser.nostr_public_key })
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue