Fix return type on updateUserConfig (#785)

This commit is contained in:
Merlin
2024-08-23 18:25:28 +02:00
committed by GitHub
parent f05d9bd727
commit 3aea299889

View File

@@ -32,7 +32,7 @@ export type UserConfigType = {
sponsorblock_id?: number;
};
const updateUserConfig = async (config: UserConfigType): Promise<UserMeType> => {
const updateUserConfig = async (config: UserConfigType): Promise<UserConfigType> => {
const apiUrl = getApiUrl();
const csrfCookie = getCookie('csrftoken');