Skip to content

Commit

Permalink
Update src/services/sessionService.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Goostaf <[email protected]>
  • Loading branch information
Oscariremma and GAsplund authored Dec 12, 2024
1 parent 8d30dbf commit fb35d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/sessionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class SessionService {
if (await this.isAdmin(session)) return true;

const pageEditorGroups = (
process.env.PAGE_EDITOR_GROUPS || 'snit,motespresidit'
process.env.PAGE_EDITOR_GROUPS ?? 'snit,motespresidit'
).split(',');
const groups = SessionService.getActiveGroups();

Expand Down

0 comments on commit fb35d0e

Please sign in to comment.