fix(frontend): use region settings instead of hardcoded 'US' value for movie/TV ratings (#1006)

This commit is contained in:
TheCatLady
2021-02-23 04:06:23 -05:00
committed by GitHub
parent da5ca02f81
commit 6ecd202607
7 changed files with 33 additions and 7 deletions

View File

@@ -21,6 +21,14 @@ export interface User {
createdAt: Date;
updatedAt: Date;
requestCount: number;
settings?: UserSettings;
}
export interface UserSettings {
enableNotifications: boolean;
discordId?: string;
region?: string;
originalLanguage?: string;
}
interface UserHookResponse {