blob: d99cbb43653628a68713ba14fe6e70a67a562e06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
const std = @import("std");
const memora = @import("memora");
const Context = memora.Context;
pub const access = .users;
const Body = struct {
id: []const u8,
};
pub fn post(ctx: *Context, body: Body) anyerror!void {
return ctx.storage.images.delete(ctx.storage, body.id);
}
|