Przeglądaj źródła

update

tags/Baseline_30082024_FRONTEND_UAT
cyril.tsui 2 lat temu
rodzic
commit
be3a15d25b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/app/utils/commonUtil.ts

+ 1
- 1
src/app/utils/commonUtil.ts Wyświetl plik

@@ -63,5 +63,5 @@ export const getUserAbilities = async () => {


export const getUserStaff = async () => { export const getUserStaff = async () => {
const session = await getServerSession(authOptions) as SessionWithTokens; const session = await getServerSession(authOptions) as SessionWithTokens;
return session?.staff
return session?.staff as SessionStaff
} }

Ładowanie…
Anuluj
Zapisz