Skip to content

Commit

Permalink
🐛 Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Jul 27, 2024
1 parent c1f3b56 commit 14d515d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/@core/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export class AuthService {
if (!saved_api_key) {
throw new ReferenceError('Api Key undefined');
}
if (String(decoded.projectId) !== String(saved_api_key.id_project)) {
if (String(decoded.project_id) !== String(saved_api_key.id_project)) {
throw new ReferenceError(
'Failed to validate API key: projectId mismatch.',
);
Expand Down

0 comments on commit 14d515d

Please sign in to comment.