🐛 fix(api): Fix type error in API request and add return URL parameter

This commit is contained in:
web@ppanel
2025-02-21 12:59:23 +07:00
parent 4418c47f4f
commit ee286dd629
23 changed files with 71 additions and 72 deletions
@@ -61,7 +61,7 @@ export default function Page() {
await updateAuthMethodConfig({
...data,
[key]: value,
} as API.UpdataAuthMethodConfigRequest);
} as API.UpdateAuthMethodConfigRequest);
toast.success(t('updateSuccess'));
refetch();
} catch (error) {