From 66fdef9f1d4565a72235403d08fbd3540c07451b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 25 Dec 2020 21:49:01 -0500 Subject: [PATCH] Changing default_sort and listing back to numbers. --- src/interfaces/api/user.ts | 4 ++-- src/interfaces/source.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;