From cb4953ff69c90996d3f321e6346dac4c9c53388c Mon Sep 17 00:00:00 2001 From: dimden <26517362+dimdenGD@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:49:28 +0200 Subject: [PATCH] fix oldtwitter --- manifest.json | 2 +- scripts/apis.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 5590f842..c1d23d36 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Old Twitter Layout (2024)", "description": "__MSG_ext_description__", - "version": "1.8.9.2", + "version": "1.8.9.3", "manifest_version": 3, "homepage_url": "https://github.com/dimdenGD/OldTwitter", "background": { diff --git a/scripts/apis.js b/scripts/apis.js index 13fcf808..8840f592 100644 --- a/scripts/apis.js +++ b/scripts/apis.js @@ -408,7 +408,7 @@ const API = { } fetch(`https://api.${location.hostname}/1.1/account/verify_credentials.json`, { headers: { - "authorization": OLDTWITTER_CONFIG.public_token, + "authorization": OLDTWITTER_CONFIG.oauth_key, "x-csrf-token": OLDTWITTER_CONFIG.csrf, "x-twitter-auth-type": "OAuth2Session" },