]> git.aero2k.de Git - dfde/quickmods.git/blobdiff - quickmod.user.js
`return await` is redundant here
[dfde/quickmods.git] / quickmod.user.js
index 8cd219619b96babb8ff15f9e35b09be930875141..5eb4defbc6cf3171a371cb195ee375b83f7e012f 100644 (file)
@@ -70,7 +70,7 @@ async function confirmAction(response) {
     if (!resp.ok) {
         throw `${resp.url}: ${resp.status}`;
     }
-    return await resp.text();
+    return resp.text();
 }
 
 function ellipsify(str, maxlen) {