mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
chore: organize ts types, fix eslint errors
This commit is contained in:
@@ -15,12 +15,12 @@ export async function selfHostedGetStartedAction(formData: FormData) {
|
||||
|
||||
const openaiApiKey = formData.get("openai_api_key")
|
||||
if (openaiApiKey) {
|
||||
await updateSettings(user.id, "openai_api_key", openaiApiKey)
|
||||
await updateSettings(user.id, "openai_api_key", openaiApiKey as string)
|
||||
}
|
||||
|
||||
const defaultCurrency = formData.get("default_currency")
|
||||
if (defaultCurrency) {
|
||||
await updateSettings(user.id, "default_currency", defaultCurrency)
|
||||
await updateSettings(user.id, "default_currency", defaultCurrency as string)
|
||||
}
|
||||
|
||||
revalidatePath("/dashboard")
|
||||
|
||||
Reference in New Issue
Block a user