From 231044c0da680aaba9441779495bfa825dc48821 Mon Sep 17 00:00:00 2001 From: dimden <26517362+dimdenGD@users.noreply.github.com> Date: Tue, 19 Nov 2024 23:43:36 +0200 Subject: [PATCH] fix settings --- scripts/apis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apis.js b/scripts/apis.js index 8840f592..d93c67d2 100644 --- a/scripts/apis.js +++ b/scripts/apis.js @@ -565,7 +565,7 @@ const API = { } fetch(`https://api.${location.hostname}/1.1/account/settings.json`, { headers: { - "authorization": OLDTWITTER_CONFIG.public_token, + "authorization": OLDTWITTER_CONFIG.oauth_key, "x-csrf-token": OLDTWITTER_CONFIG.csrf, "x-twitter-auth-type": "OAuth2Session", },