mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
only if reports exist
This commit is contained in:
parent
def98a5c69
commit
c16fc0e4d5
@ -65,7 +65,7 @@ os.api('admin/abuse-user-reports', {
|
|||||||
state: 'unresolved',
|
state: 'unresolved',
|
||||||
limit: 1,
|
limit: 1,
|
||||||
}).then(reports => {
|
}).then(reports => {
|
||||||
if (reports.length > 0) thereIsUnresolvedAbuseReport = true;
|
if (reports?.length > 0) thereIsUnresolvedAbuseReport = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
await fetch('https://codeberg.org/api/v1/repos/thatonecalculator/calckey/releases?draft=false&pre-release=false&page=1&limit=1')
|
await fetch('https://codeberg.org/api/v1/repos/thatonecalculator/calckey/releases?draft=false&pre-release=false&page=1&limit=1')
|
||||||
|
Loading…
Reference in New Issue
Block a user