mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
additional log and missing await at decode invocation
This commit is contained in:
parent
de60a50f20
commit
f04d156e5c
@ -175,7 +175,7 @@ export class TransactionLinkResolver {
|
||||
// disbursement jwt-token
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-assignment
|
||||
const homeCom = await getHomeCommunity()
|
||||
const jwtPayload = decode(code, homeCom.publicKey)
|
||||
const jwtPayload = await decode(code, homeCom.publicKey)
|
||||
if (jwtPayload !== null && jwtPayload instanceof DisbursementJwtPayloadType) {
|
||||
const disburseJwtPayload: DisbursementJwtPayloadType = jwtPayload
|
||||
transactionLink.communityName = homeCom.name !== null ? homeCom.name : 'unknown'
|
||||
|
||||
@ -130,6 +130,7 @@ const itemType = computed(() => {
|
||||
})
|
||||
|
||||
const itemTypeExt = computed(() => {
|
||||
console.log('TransactionLink.itemTypeExt... itemType=', itemType)
|
||||
if (itemType.value.startsWith('TEXT')) {
|
||||
return 'TEXT'
|
||||
}
|
||||
@ -179,6 +180,7 @@ onResult(() => {
|
||||
})
|
||||
|
||||
onError(() => {
|
||||
console.log('TransactionLink.onError... error=', error)
|
||||
toastError(t('gdd_per_link.redeemlink-error'))
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user