Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
chore: remove private API whitelist (#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfryan authored Jan 31, 2024
1 parent 80f50b7 commit 1e500fd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
15 changes: 0 additions & 15 deletions apps/api/middleware/private_whitelist.ts

This file was deleted.

2 changes: 0 additions & 2 deletions apps/api/routes/private/v2/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { apiKeyHeaderMiddleware } from '@/middleware/api_key';
import { privateApiWhitelistMiddleware } from '@/middleware/private_whitelist';
import { Router } from 'express';
import customer from './customer';

export default function init(app: Router): void {
const v2Router = Router();

v2Router.use(apiKeyHeaderMiddleware);
v2Router.use(privateApiWhitelistMiddleware);

customer(v2Router);

Expand Down

0 comments on commit 1e500fd

Please sign in to comment.