aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/image/load.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/api/image/load.zig')
-rw-r--r--src/routes/api/image/load.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/api/image/load.zig b/src/routes/api/image/load.zig
index 4f0a072..1b2a3e2 100644
--- a/src/routes/api/image/load.zig
+++ b/src/routes/api/image/load.zig
@@ -8,6 +8,6 @@ pub const access = .users;
pub fn get(ctx: *Context) !memora.Stream {
const id = ctx.request.head.target["/api/image/load/".len..];
- var image = Storage.Image { .id = id };
+ var image = Storage.Image { .id = id, .timestamp = null };
return .from_file(try image.file(ctx.storage));
}