mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-02 00:50:57 +01:00
Fix tests
This commit is contained in:
parent
4a57b7d0ed
commit
181745f19d
3 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"FixTweet / FixupX": "https://github.com/FixTweet/FixTweet"
|
||||
"FxTwitter / FixupX": "https://github.com/FixTweet/FxTwitter"
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ export const buildAPITwitterStatus = async (
|
|||
const graphQLUser = status.core.user_results.result;
|
||||
const apiUser = convertToApiUser(graphQLUser);
|
||||
|
||||
/* Sometimes, `rest_id` is undefined for some reason. Inconsistent behavior. See: https://github.com/FixTweet/FixTweet/issues/416 */
|
||||
/* Sometimes, `rest_id` is undefined for some reason. Inconsistent behavior. See: https://github.com/FixTweet/FxTwitter/issues/416 */
|
||||
const id = status.rest_id ?? status.legacy.id_str;
|
||||
|
||||
/* Populating a lot of the basics */
|
||||
|
|
|
@ -5,7 +5,7 @@ const humanHeaders = {
|
|||
'User-Agent':
|
||||
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36'
|
||||
};
|
||||
const githubUrl = 'https://github.com/FixTweet/FixTweet';
|
||||
const githubUrl = 'https://github.com/FixTweet/FxTwitter';
|
||||
const twitterBaseUrl = 'https://twitter.com';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
|
|
Loading…
Add table
Reference in a new issue