aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FileRouter.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FileRouter.ts b/src/FileRouter.ts
index e2b7eeb..94ffa63 100644
--- a/src/FileRouter.ts
+++ b/src/FileRouter.ts
@@ -970,6 +970,10 @@ const postFilePath: Middleware = async(
}
await res.locals.file.save();
}
+ res.locals.data = {
+ id: res.locals.file.uuid,
+ created: true
+ };
return next();
} catch (e) {