diff --git a/src/interfaces/api/user.ts b/src/interfaces/api/user.ts index e0e1691..6efe468 100644 --- a/src/interfaces/api/user.ts +++ b/src/interfaces/api/user.ts @@ -40,8 +40,8 @@ export interface CaptchaResponse { export interface SaveUserSettings { show_nsfw: boolean; theme: string; - default_sort_type: string; - default_listing_type: string; + default_sort_type: number; + default_listing_type: number; lang: string; avatar?: string; banner?: string; diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 5278de2..9b37c58 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -30,8 +30,8 @@ export interface User_ { updated?: string; show_nsfw: boolean; theme: string; - default_sort_type: SortType; - default_listing_type: ListingType; + default_sort_type: number; + default_listing_type: number; lang: string; show_avatars: boolean; send_notifications_to_email: boolean;