From 8c68eea6685b2b3e6e865f910e396c386f3da400 Mon Sep 17 00:00:00 2001 From: fenrir Date: Thu, 3 Aug 2023 08:49:48 +0900 Subject: [PATCH] fix:key hide --- src/app.module.ts | 2 +- src/common/openai.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index 6042491..cad6434 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -10,7 +10,7 @@ import { JwtService } from '@nestjs/jwt'; @Module({ imports: [ MongooseModule.forRoot( - 'mongodb+srv://gozjxhs:gozjxhs@cluster0.ccmfm.mongodb.net/babblemate?retryWrites=true&w=majority', + '', ), BabblesModule, UsersModule, diff --git a/src/common/openai.service.ts b/src/common/openai.service.ts index ab1b3a4..3079f64 100644 --- a/src/common/openai.service.ts +++ b/src/common/openai.service.ts @@ -9,7 +9,7 @@ import { const configuration = new Configuration({ organization: 'org-jPO32mgFLsFXUbX0VhM5CsXo', - apiKey: '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', + apiKey: '', }); const openai = new OpenAIApi(configuration);