From 369e71eb342964a835301fdd986d9b721665b44c Mon Sep 17 00:00:00 2001 From: matteo-cristino Date: Wed, 9 Oct 2024 14:42:36 +0200 Subject: [PATCH] fix: add location plugin to slangroom initialization --- src/routes/[[lang]]/(protected)/[id]/verify/_lib/tools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/[[lang]]/(protected)/[id]/verify/_lib/tools.ts b/src/routes/[[lang]]/(protected)/[id]/verify/_lib/tools.ts index 73f17fb..1e4806b 100644 --- a/src/routes/[[lang]]/(protected)/[id]/verify/_lib/tools.ts +++ b/src/routes/[[lang]]/(protected)/[id]/verify/_lib/tools.ts @@ -11,7 +11,7 @@ import { log } from '$lib/log'; import { saveVerifiedSid } from '$lib/preferences/verifiedSid'; import { goto } from '$app/navigation'; -const slangroom = new Slangroom(http, helpers, zencode); +const slangroom = new Slangroom(http, helpers, zencode, location); export const jwsToIdSuccess = 'Signature_verification_successful' as const; export const jwsToIdFailure = 'Signature_verification_error' as const; export type jwsToIdResult = typeof jwsToIdSuccess | typeof jwsToIdFailure;