Skip to content

Commit

Permalink
refactor(api): Use async version of the function that generates the b…
Browse files Browse the repository at this point in the history
…ackoffice session id
  • Loading branch information
alepefe committed Dec 3, 2024
1 parent c5b1733 commit b3d10bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/modules/auth/authentication.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class AuthenticationService {
),
);
const backofficeSession: BackOfficeSession = {
sid: uid.sync(24),
sid: await uid(24),
sess: {
cookie: {
secure: false,
Expand Down

0 comments on commit b3d10bd

Please sign in to comment.