mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-15 19:33:44 +00:00
fix server action response
This commit is contained in:
@@ -28,8 +28,8 @@ function setSessionHttpOnlyCookie<T>(sessions: SessionCookie<T>[]) {
|
||||
|
||||
export async function setLanguageCookie(language: string) {
|
||||
const cookiesList = cookies();
|
||||
// @ts-ignore
|
||||
return cookiesList.set({
|
||||
|
||||
await cookiesList.set({
|
||||
name: "NEXT_LOCALE",
|
||||
value: language,
|
||||
httpOnly: true,
|
||||
|
||||
Reference in New Issue
Block a user