| ... | @@ -275,7 +275,7 @@ pub fn Handlers(comptime T: type) type { | ... | @@ -275,7 +275,7 @@ pub fn Handlers(comptime T: type) type { |
| 275 | | 275 | |
| 276 | const id = try fixId(alloc, val2.get(client.provider.id_prop).?); | 276 | const id = try fixId(alloc, val2.get(client.provider.id_prop).?); |
| 277 | const name = val2.get(client.provider.name_prop).?.String; | 277 | const name = val2.get(client.provider.name_prop).?.String; |
| 278 | try T.saveInfo(response, request, client.provider, id, name, val2); | 278 | try T.saveInfo(response, request, client.provider, id, name, val, val2); |
| 279 | | 279 | |
| 280 | try response.headers.put("Location", T.doneUrl); | 280 | try response.headers.put("Location", T.doneUrl); |
| 281 | try response.writeHeader(.found); | 281 | try response.writeHeader(.found); |