Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chloezxyy committed Nov 15, 2023
1 parent fc1456f commit 33bf2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/faucet/DefaultNetworkInterceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class DefaultNetworkInterceptor implements NestInterceptor {
intercept(context: ExecutionContext, next: CallHandler) {
const request = context.switchToHttp().getRequest();
const { network } = request.query;
const { networks } = getEnvironment(process.env.NODE_ENV || "production");
const { networks } = getEnvironment(process.env.NODE_ENV || 'production');

if (!network || !networks.includes(network)) {
request.query.network = EnvironmentNetwork.MainNet; // Set your default network here
Expand Down

0 comments on commit 33bf2c8

Please sign in to comment.