chore: build issues after merge

This commit is contained in:
en 2025-04-15 09:49:06 +02:00
parent 07ba2d4a25
commit b851acae47
2 changed files with 4 additions and 4 deletions
src
components/MarkTypeStrategy/Signature
pages/verify

@ -48,7 +48,7 @@ export const SignatureStrategy: MarkStrategy = {
console.info(
`${file.name} uploaded to following file storages: ${urls.join(', ')}`
)
return urls
return value
} catch (error) {
if (error instanceof Error) {
console.error(

@ -779,9 +779,9 @@ export const VerifyPage = () => {
setIsLoading(true)
setLoadingSpinnerDesc('storing meta on blossom server')
let metaUrl: string
let metaUrls: string[]
try {
metaUrl = await uploadMetaToFileStorage(meta, encryptionKey)
metaUrls = await uploadMetaToFileStorage(meta, encryptionKey)
} catch (error) {
if (error instanceof Error) {
toast.error(error.message)
@ -823,7 +823,7 @@ export const VerifyPage = () => {
setLoadingSpinnerDesc('Sending notifications')
const users = Array.from(userSet)
const promises = users.map((user) =>
sendNotification(npubToHex(user)!, { metaUrl, keys: meta.keys })
sendNotification(npubToHex(user)!, { metaUrls, keys: meta.keys })
)
await Promise.all(promises)