From 3aea299889e00acd5af5446eb42ce91bf938a237 Mon Sep 17 00:00:00 2001 From: Merlin <4706504+MerlinScheurer@users.noreply.github.com> Date: Fri, 23 Aug 2024 18:25:28 +0200 Subject: [PATCH] Fix return type on updateUserConfig (#785) --- frontend/src/api/actions/updateUserConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/api/actions/updateUserConfig.ts b/frontend/src/api/actions/updateUserConfig.ts index 4697c118..e02a3dcc 100644 --- a/frontend/src/api/actions/updateUserConfig.ts +++ b/frontend/src/api/actions/updateUserConfig.ts @@ -32,7 +32,7 @@ export type UserConfigType = { sponsorblock_id?: number; }; -const updateUserConfig = async (config: UserConfigType): Promise => { +const updateUserConfig = async (config: UserConfigType): Promise => { const apiUrl = getApiUrl(); const csrfCookie = getCookie('csrftoken');