From 4c06eb64cbed3562e428ce59857d1763098638f3 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 19 Nov 2025 09:15:49 +0100 Subject: allow images to upload and sort if according to their datetime --- src/routes/api/image/load.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes/api/image/load.zig') 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)); } -- cgit v1.2.3-70-g09d2