fix: add orderBy for fields

This commit is contained in:
Vasily Zubarev
2025-03-23 19:53:46 +01:00
parent 8d37570c44
commit df2d646a47
3 changed files with 6 additions and 3 deletions

View File

@@ -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 },