Deprecate legacy core datasource token (#14096)
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ import { PostgresCredentialsResolver } from 'src/engine/core-modules/postgres-cr
|
||||
import { PostgresCredentialsService } from 'src/engine/core-modules/postgres-credentials/postgres-credentials.service';
|
||||
|
||||
@Module({
|
||||
imports: [JwtModule, TypeOrmModule.forFeature([PostgresCredentials], 'core')],
|
||||
imports: [JwtModule, TypeOrmModule.forFeature([PostgresCredentials])],
|
||||
providers: [
|
||||
PostgresCredentialsResolver,
|
||||
PostgresCredentialsService,
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import { JwtTokenTypeEnum } from 'src/engine/core-modules/auth/types/auth-contex
|
||||
|
||||
export class PostgresCredentialsService {
|
||||
constructor(
|
||||
@InjectRepository(PostgresCredentials, 'core')
|
||||
@InjectRepository(PostgresCredentials)
|
||||
private readonly postgresCredentialsRepository: Repository<PostgresCredentials>,
|
||||
private readonly jwtWrapperService: JwtWrapperService,
|
||||
) {}
|
||||
|
||||
Reference in New Issue
Block a user