Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Evaldo Felipe <[email protected]>
  • Loading branch information
evaldofelipe committed Jan 22, 2025
1 parent c925e75 commit 399880e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/available-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ import { object, Infer, optional, string } from "superstruct";
import dotenv from "dotenv";
import { validAddress, positiveIntStr } from "./_utils";
import { TypedVercelRequest } from "./_types";
import fs from "fs";
import path from "path";
import { getEnvs } from "./_env";

const {
GIT_ENV_EXPORTED,
} = getEnvs();

const AvailableRoutesQueryParamsSchema = object({
originToken: optional(validAddress()),
Expand All @@ -28,7 +31,7 @@ type AvailableRoutesQueryParams = Infer<

const handler = async (_: any, response: VercelResponse) => {
response.status(200).json({
test: process.env.GIT_ENV_EXPORTED,
test: GIT_ENV_EXPORTED,
});
return;
};
Expand Down

0 comments on commit 399880e

Please sign in to comment.