From dccfa97c5b72b0066fb7b3bb00e9d71f3ade3473 Mon Sep 17 00:00:00 2001 From: ofelipelucca Date: Thu, 7 Dec 2023 09:42:36 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=C3=A7oes=20de=20token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard.js b/dashboard.js index 8aa3658..a9cb1ea 100644 --- a/dashboard.js +++ b/dashboard.js @@ -1,4 +1,5 @@ -require('dotenv').config(); ///< Carrega as variaveis de ambiente do arquivo '.env' +import dotenv from 'dotenv'; +dotenv.config(); ///< Carrega as variaveis de ambiente do arquivo '.env' const githubUsername = process.env.GITHUB_USERNAME; const githubToken = process.env.GITHUB_TOKEN;