fix: little fixes

This commit is contained in:
Sergey Krylov 2026-03-06 07:05:08 +03:00
parent 396a0e6402
commit 3ba3fbe9e8
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ export class GrpcModule {
return { return {
provide: `${GRPC_CLIENT_PREFIX}_${token}`, provide: `${GRPC_CLIENT_PREFIX}_${token}`,
useFactory: (factory: GrpcClientFactory, config: ConfigService) => { useFactory: (factory: GrpcClientFactory, config: ConfigService) => {
console.log('config', config)
const url = config.getOrThrow<string>(cfg.env) const url = config.getOrThrow<string>(cfg.env)
const client = factory.createClient({ const client = factory.createClient({
url, url,

View File

@ -7,7 +7,7 @@ export const GRPC_CLIENTS = {
env: 'AUTH_GRPC_URL' env: 'AUTH_GRPC_URL'
}, },
ACCOUNT_PACKAGE: { ACCOUNT_PACKAGE: {
package: 'auth.v1', package: 'account.v1',
protoPath: PROTO_PATHS.ACCOUNT, protoPath: PROTO_PATHS.ACCOUNT,
env: 'AUTH_GRPC_URL' env: 'AUTH_GRPC_URL'
}, },