Converted user and website settings.

This commit is contained in:
Mike Cao committed 2025-02-21 16:55:05 -08:00
1 parent 4c24e54fdd
commit b5c6194f36
59 files changed
+363 -554

No files matched your search

+9 -1
View File
@@ -1,10 +1,18 @@
import { buildUrl } from '@/lib/url';
export interface ErrorResponse {
error: {
status: number;
message: string;
code?: string;
};
}
export interface FetchResponse {
ok: boolean;
status: number;
data?: any;
error?: any;
error?: ErrorResponse;
}
export async function request(