Skip to content

Commit

Permalink
useless
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Nov 19, 2024
1 parent 7c59178 commit 05b491a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ async function callTwitterApi(method = 'GET', path, headers = {}, body) {
body = new URLSearchParams(body).toString();
}
if(!headers['Authorization']) {
if(path.includes("verify_credentials")) {
headers['Authorization'] = "Bearer AAAAAAAAAAAAAAAAAAAAAG5LOQEAAAAAbEKsIYYIhrfOQqm4H8u7xcahRkU%3Dz98HKmzbeXdKqBfUDmElcqYl0cmmKY9KdS2UoNIz3Phapgsowi";
} else {
headers['Authorization'] = `Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA`;
}
headers['Authorization'] = `Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA`;
}
if(!headers['x-csrf-token']) {
let csrf = document.cookie.match(/(?:^|;\s*)ct0=([0-9a-f]+)\s*(?:;|$)/);
Expand Down

0 comments on commit 05b491a

Please sign in to comment.