Avatar gallery and listing

This commit is contained in:
Natsumi
2025-05-24 03:32:40 +10:00
parent 029aa1c43d
commit 17a75a041f
9 changed files with 244 additions and 21 deletions

View File

@@ -185,6 +185,18 @@ const miscReq = {
// window.API.$emit('VISITS', args);
return args;
});
},
deleteFile(fileId) {
return window.API.call(`file/${fileId}`, {
method: 'DELETE'
}).then((json) => {
const args = {
json,
fileId
};
return args;
});
}
// /**