From e69caaa536bee8bbb6db6c3c8ae20d190d9946d5 Mon Sep 17 00:00:00 2001 From: Joe Bain Date: Fri, 6 Feb 2026 11:48:08 +0000 Subject: [PATCH] fix for loop for apple --- src/Adapters/Auth/apple.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adapters/Auth/apple.js b/src/Adapters/Auth/apple.js index d27d5ace..64df6a50 100644 --- a/src/Adapters/Auth/apple.js +++ b/src/Adapters/Auth/apple.js @@ -9,7 +9,7 @@ function validateAuthData(authData, authOptions) { console.log("going to validate for apple"); console.log(authData); var necessaries = ["timestamp", "salt", "id", "bundleId", "signature", "publicKeyUrl"]; - for (var n in necessaries) { + for (var n of necessaries) { var necessary = necessaries[n]; if (!(necessary in authData)) { error("Auth data does not have property " + necessary);