lint: Comma dangle

This commit is contained in:
Cohee
2023-12-02 22:06:57 +02:00
parent 08fedf3a96
commit 64a3564892
53 changed files with 388 additions and 384 deletions

View File

@ -657,7 +657,7 @@ async function updateExtension(extensionName, quiet) {
const response = await fetch('/api/extensions/update', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify({ extensionName })
body: JSON.stringify({ extensionName }),
});
const data = await response.json();
@ -698,7 +698,7 @@ export async function deleteExtension(extensionName) {
await fetch('/api/extensions/delete', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify({ extensionName })
body: JSON.stringify({ extensionName }),
});
} catch (error) {
console.error('Error:', error);
@ -723,7 +723,7 @@ async function getExtensionVersion(extensionName) {
const response = await fetch('/api/extensions/version', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify({ extensionName })
body: JSON.stringify({ extensionName }),
});
const data = await response.json();