Преглед изворни кода

:recycle: go back to the way it was before

dev
j пре 2 година
родитељ
комит
aa7363e1b3
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['api-key']
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…
Откажи
Сачувај