mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
fix: add orderBy for fields
This commit is contained in:
@@ -12,7 +12,6 @@ export const getSettings = cache(async (): Promise<SettingsMap> => {
|
||||
})
|
||||
|
||||
export const updateSettings = cache(async (code: string, value?: any) => {
|
||||
console.log("updateSettings", code, value)
|
||||
return await prisma.setting.upsert({
|
||||
where: { code },
|
||||
update: { value },
|
||||
|
||||
Reference in New Issue
Block a user