mirror of
https://github.com/xyzeva/k-id-age-verifier.git
synced 2026-07-30 15:38:57 +02:00
fix: standalone-verify only writing payload to file
left from debugging
This commit is contained in:
@@ -770,9 +770,6 @@ async function verify(qrCodeUrlStr: string) {
|
||||
const encryptionData = await encryptPayload(sessionData.nonce, payload);
|
||||
payload = Object.assign(payload, encryptionData);
|
||||
|
||||
Deno.writeTextFileSync('genned-payload.json', JSON.stringify(payload, null, 2));
|
||||
return;
|
||||
|
||||
const completeRes = await fetch(`${BASE_URL}/age-services/d-privately-age-services`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user