mirror of
https://github.com/4cuck/nitter-status.git
synced 2026-10-26 00:52:25 +00:00
move admin overview and fixup
This commit is contained in:
1 parent
49fd5b14fb
commit
f6622564d2
5 files changed
+144
-113
No files matched your search
@@ -25,24 +25,6 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
fetchDataAndCreateChart(initialStartDate,initialEndDate);
|
||||
});
|
||||
|
||||
function mapKey(key) {
|
||||
const keyMappings = {
|
||||
"limited_accs": "Limited Accs",
|
||||
"total_accs": "Total Accs",
|
||||
"total_requests": "Total Requests",
|
||||
"req_photo_rail": "PhotoRail Requests",
|
||||
"req_user_screen_name": "UserScreeName Req.",
|
||||
"req_search": "Search Requests",
|
||||
"req_list_tweets": "ListTeweets Req.",
|
||||
"req_user_media": "UserMedia Req.",
|
||||
"req_tweet_detail": "TweetDetail Req.",
|
||||
"req_list": "List Requests",
|
||||
"req_user_tweets": "UserTweets Req.",
|
||||
"req_user_tweets_and_replies": "UserTweetsAndReplies Req.",
|
||||
}
|
||||
return keyMappings[key];
|
||||
}
|
||||
|
||||
async function fetchDataAndCreateChart(startDate,endDate) {
|
||||
let jsonData;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user