Skip to content

Commit

Permalink
Add origin to native auth quard
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Mar 16, 2023
1 parent d98b2a3 commit f4eed82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@elastic/elasticsearch": "7.12.0",
"@golevelup/nestjs-rabbitmq": "3.4.0",
"@multiversx/sdk-core": "11.2.0",
"@multiversx/sdk-native-auth-server": "1.0.5",
"@multiversx/sdk-native-auth-server": "1.0.6",
"@multiversx/sdk-nestjs": "0.4.16",
"@multiversx/sdk-network-providers": "^1.2.1",
"@nestjs/apollo": "^10.1.7",
Expand Down
1 change: 1 addition & 0 deletions src/modules/auth/native.auth-guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class NativeAuthGuard implements CanActivate {
await this.cachingService.setCache(key, value, ttl);
},
},
extraRequestHeaders: { origin: 'NftService' },
});
}

Expand Down

0 comments on commit f4eed82

Please sign in to comment.