π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[staff] Lint fix
Neeraj Guptaeb949bcad9b4
diff --git a/infra/staff/src/components/Disable2FA.tsx b/infra/staff/src/components/Disable2FA.tsxindex d26e91093e..b7a14c2de8 100644--- a/infra/staff/src/components/Disable2FA.tsx+++ b/infra/staff/src/components/Disable2FA.tsx@@ -53,10 +53,10 @@ const Disable2FA: React.FC<Disable2FAProps> = ({const userUrl = `${apiOrigin}/admin/user?email=${encodedEmail}`;const userResponse = await fetch(userUrl, {method: "GET",- headers: {+ headers: {"Content-Type": "application/json","X-Auth-Token": encodedToken,- },+ },});if (!userResponse.ok) {throw new Error("Failed to fetch user data");@@ -73,10 +73,10 @@ const Disable2FA: React.FC<Disable2FAProps> = ({const body = JSON.stringify({ userID });const disableResponse = await fetch(disableUrl, {method: "POST",- headers: {+ headers: {"Content-Type": "application/json","X-Auth-Token": encodedToken,- },+ },body: body,});