소스 검색

:poop: I don't know why the config options changed on me

brian_tests
tomit4 2 년 전
부모
커밋
e1cbacc560
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      backend/lib/services/user.js

+ 1
- 1
backend/lib/services/user.js 파일 보기

@@ -9,7 +9,7 @@ const SecurePassword = require('secure-password')
9 9
 // Configuration for Brevo
10 10
 const Brevo = require('@getbrevo/brevo')
11 11
 const apiInstance = new Brevo.TransactionalEmailsApi()
12
-const apiKey = apiInstance.authentications.apiKey
12
+const apiKey = apiInstance.apiClient.authentications['api-key']
13 13
 apiKey.apiKey = process.env.BREVO_KEY
14 14
 const sendSmtpEmail = new Brevo.SendSmtpEmail()
15 15
 

Loading…
취소
저장