mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
chore: update to .net 8
This commit is contained in:
parent
9716922ab5
commit
2d564535af
26 changed files with 1453 additions and 4487 deletions
|
|
@ -43,7 +43,7 @@ public static class APIJsonExt
|
|||
public static async Task WriteJSON(this HttpResponse resp, int statusCode, string jsonText)
|
||||
{
|
||||
resp.StatusCode = statusCode;
|
||||
resp.Headers.Add("content-type", "application/json");
|
||||
resp.Headers.Append("content-type", "application/json");
|
||||
await resp.WriteAsync(jsonText);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue