making room for context to add to the props
This commit is contained in:
parent
5aede0d096
commit
ce67365a49
7 changed files with 44 additions and 26 deletions
|
|
@ -36,7 +36,7 @@ const SimpleEndpoint = struct {
|
|||
pub fn get(e: *SimpleEndpoint, arena: Allocator, context: *Context, r: zap.Request) !void {
|
||||
const thread_id = std.Thread.getCurrentId();
|
||||
|
||||
try Context.SendInertiaResponse(e, r, arena, e.component, .{
|
||||
try Context.SendInertiaResponse(e, context, r, arena, e.component, .{
|
||||
.thread_id = thread_id,
|
||||
.counter = context.counter,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue