]> git.aero2k.de Git - dfde/quickmods.git/commitdiff
`return await` is redundant here
authorJTH <JTH@debianforum.de>
Fri, 30 Sep 2022 09:16:36 +0000 (11:16 +0200)
committerThorsten <mail@aero2k.de>
Mon, 3 Oct 2022 21:24:22 +0000 (23:24 +0200)
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) {