Skip to content

Commit

Permalink
chore: fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Dec 28, 2024
1 parent 1d4381b commit bfd8955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AuthzHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AuthzHandler implements IAuthzHandler {
async checkSessionAuthorized(request: VoiceRequest): Promise<boolean> {
logger.verbose("checkSessionAuthorized called", request);

// Checks if request at leas has the accessKeyId
// Checks if request at least has the accessKeyId
const parsedRequest = voiceRequestSchema.parse(request);

const user = await getUserByWorkspaceAccessKeyId(parsedRequest.accessKeyId);
Expand Down Expand Up @@ -91,7 +91,7 @@ class AuthzHandler implements IAuthzHandler {
const parsedUser = userExtendedSchema.parse(user);

logger.verbose("checkMethodAuthorized user extended data", {
extended: parsedUser.extended
...parsedUser.extended
});

const { accountType, callingEnabled } = parsedUser.extended;
Expand Down

0 comments on commit bfd8955

Please sign in to comment.