fix extension update endpoint

This commit is contained in:
RossAscends 2023-09-22 02:42:06 +09:00
parent ad9382a98c
commit 22a0bf9451

View File

@ -610,7 +610,7 @@ async function showExtensionsDetails() {
async function onUpdateClick() {
const extensionName = $(this).data('name');
try {
const response = await fetch('/update_extension', {
const response = await fetch('/api/extensions/update', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify({ extensionName })