Skip to content

Commit

Permalink
fixing a header mistake (im dumb)
Browse files Browse the repository at this point in the history
  • Loading branch information
EarliestFall988 committed Nov 27, 2023
1 parent b4cdd1b commit 1fab4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

ctx.RequestAborted.ThrowIfCancellationRequested();

var instructionId = ctx.Request.RouteValues["id"] as string;
var instructionId = ctx.Request.Headers["id"] as string;
string key = ctx.Request.Headers["apikey"];

ctx.Response.Headers.Add("Content-Type", "application/json");
Expand Down

0 comments on commit 1fab4f1

Please sign in to comment.