set add QR code page
Deploy app frontend / app frontend (push) Failing after 52s
Deploy service couchdb / service couchdb (push) Successful in 28s
Deploy db-migrations / db-migrations (push) Successful in 57s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 1m3s

This commit is contained in:
2024-12-06 14:07:31 +02:00
parent 3ec74a5f9f
commit 9c69812258
14 changed files with 201 additions and 162 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export const createQrCodeDocument = async (
return qrCodeDoc
}
export const getQrCodeDocument = async (uri: string) => {
export const getQrCodeDocument = async (uri: string): Promise<QRCodeDocument> => {
try {
return await qrCodeDbLocal.get<QRCodeDocument>(`qr_code:${uri}`)
} catch (error) {