mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-21 04:01:10 +10:00
partial: user routes
This commit is contained in:
@ -2,6 +2,10 @@ import aclManager from "~/server/internal/acls";
|
||||
import objectHandler from "~/server/internal/objects";
|
||||
import sanitize from "sanitize-filename";
|
||||
|
||||
/**
|
||||
* Delete object
|
||||
* @param id Object ID
|
||||
*/
|
||||
export default defineEventHandler(async (h3) => {
|
||||
const unsafeId = getRouterParam(h3, "id");
|
||||
if (!unsafeId)
|
||||
|
||||
Reference in New Issue
Block a user