feat: optimize asset delivery with build-time compression and encoding negotiation

This commit is contained in:
2026-01-29 13:56:10 -06:00
parent e008ee5a12
commit 4deeef2f00
12 changed files with 634 additions and 143 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ export class BannerApiClient {
return this.request<User[]>("/admin/users");
}
async setUserAdmin(discordId: string, isAdmin: boolean): Promise<User> {
async setUserAdmin(discordId: bigint, isAdmin: boolean): Promise<User> {
const response = await this.fetchFn(`${this.baseUrl}/admin/users/${discordId}/admin`, {
method: "PUT",
headers: { "Content-Type": "application/json" },