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