fix: add remove function to serve_data
Signed-off-by: David Weber | geOps <david.weber@geops.com>
This commit is contained in:
parent
ec5714a1e3
commit
a5addd567d
1 changed files with 3 additions and 0 deletions
|
|
@ -189,6 +189,9 @@ export const serve_data = {
|
|||
|
||||
return app;
|
||||
},
|
||||
remove: (repo, id) => {
|
||||
delete repo[id];
|
||||
},
|
||||
add: async (options, repo, params, id, publicUrl) => {
|
||||
let inputFile;
|
||||
let inputType;
|
||||
|
|
|
|||
Loading…
Reference in a new issue