Commit 706e8601 by Denys Tito Urbano

Correo-drive agregado

parent c3b799ec
...@@ -2,6 +2,8 @@ PORT= ...@@ -2,6 +2,8 @@ PORT=
SECRET_KEY= SECRET_KEY=
DRIVE_ACCOUNT=
DB_POSTGRESQL_SIIAA_HOST= DB_POSTGRESQL_SIIAA_HOST=
DB_POSTGRESQL_SIIAA_PORT= DB_POSTGRESQL_SIIAA_PORT=
DB_POSTGRESQL_SIIAA_NAME= DB_POSTGRESQL_SIIAA_NAME=
......
...@@ -6,7 +6,7 @@ const get_materiales = async (input) => { ...@@ -6,7 +6,7 @@ const get_materiales = async (input) => {
}; };
const get_material = async ({ drive_id, drive_encrypted }) => { const get_material = async ({ drive_id, drive_encrypted }) => {
const response = await axios.get(`${process.env.URL_TRISMEGISTO_APIS}/google/drive?drive_id=${drive_id}&drive_encrypted=${drive_encrypted}`); const response = await axios.get(`${process.env.URL_TRISMEGISTO_APIS}/google/drive?drive_id=${drive_id}&drive_encrypted=${drive_encrypted}&correo=${process.env.DRIVE_ACCOUNT}`);
return response.data; return response.data;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment