diff --git a/js/create/place-access.js b/js/create/place-access.js index 65a0b06..09b1615 100755 --- a/js/create/place-access.js +++ b/js/create/place-access.js @@ -192,7 +192,7 @@ function MultiWhitelist(){ MultiWhitelistSubmitButton.previousElementSibling.disabled = true if (Usernames.length > 0) { for (let username of Usernames) { - const WhitelistAddRequest = (await (await fetch('https://polytoria.com/api/create/whitelist', { + Utilities.RatelimitRepeatingFetch('https://polytoria.com/api/create/whitelist', { method: 'POST', headers: { 'Content-Type': 'application/json' @@ -201,7 +201,7 @@ function MultiWhitelist(){ placeID: PlaceID, username: username }) - })).json()) + }) } window.location.reload()