From 3f73c131ecf0c941f9765f25bfdf8c1dad9bcc75 Mon Sep 17 00:00:00 2001 From: Marc-Aurele Besner <82244926+marc-aurele-besner@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:28:51 -0500 Subject: [PATCH] fixing indexers path after the re-structure of the indexers --- indexers/consensus/project.ts | 2 +- indexers/files/project.ts | 2 +- indexers/leaderboard/project.ts | 2 +- indexers/staking/project.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/indexers/consensus/project.ts b/indexers/consensus/project.ts index 0fd4e4ad6..a277f0d3e 100644 --- a/indexers/consensus/project.ts +++ b/indexers/consensus/project.ts @@ -7,7 +7,7 @@ import * as dotenv from "dotenv"; import path from "path"; // Load the appropriate .env file -const dotenvPath = path.resolve(__dirname, `../../../.env`); +const dotenvPath = path.resolve(__dirname, `../../.env`); dotenv.config({ path: dotenvPath }); // Can expand the Datasource processor types via the genreic param diff --git a/indexers/files/project.ts b/indexers/files/project.ts index 489656158..ea4e32fb9 100644 --- a/indexers/files/project.ts +++ b/indexers/files/project.ts @@ -7,7 +7,7 @@ import * as dotenv from "dotenv"; import path from "path"; // Load the appropriate .env file -const dotenvPath = path.resolve(__dirname, `../../../.env`); +const dotenvPath = path.resolve(__dirname, `../../.env`); dotenv.config({ path: dotenvPath }); // Can expand the Datasource processor types via the genreic param diff --git a/indexers/leaderboard/project.ts b/indexers/leaderboard/project.ts index a32a12c04..73914fbbb 100644 --- a/indexers/leaderboard/project.ts +++ b/indexers/leaderboard/project.ts @@ -6,7 +6,7 @@ import { import * as dotenv from "dotenv"; import path from "path"; // Load the appropriate .env file -const dotenvPath = path.resolve(__dirname, `../../../.env`); +const dotenvPath = path.resolve(__dirname, `../../.env`); dotenv.config({ path: dotenvPath }); // Can expand the Datasource processor types via the genreic param diff --git a/indexers/staking/project.ts b/indexers/staking/project.ts index 9341b731b..dce7f4501 100644 --- a/indexers/staking/project.ts +++ b/indexers/staking/project.ts @@ -7,7 +7,7 @@ import * as dotenv from "dotenv"; import path from "path"; // Load the appropriate .env file -const dotenvPath = path.resolve(__dirname, `../../../.env`); +const dotenvPath = path.resolve(__dirname, `../../.env`); dotenv.config({ path: dotenvPath }); // Can expand the Datasource processor types via the genreic param