Skip to content

Commit

Permalink
Correct API config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Saxena committed Feb 19, 2024
1 parent 1389ed7 commit 05152af
Show file tree
Hide file tree
Showing 52 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/api/__tests__/apikey/handlers.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test, { afterEach, describe, mock } from "node:test";
import { createApikey } from "../../lib/apikey/handlers";
import { createApikey } from "../../src/apikey/handlers";
import assert from "node:assert";
import queries from "../../lib/apikey/queries";
import queries from "../../src/apikey/queries";

describe("API key test suite", () => {
afterEach(() => {
Expand Down
4 changes: 2 additions & 2 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
},
"scripts": {
"build": "tsc",
"dev": "nodemon lib/index.ts",
"start": "node dist/index.js",
"dev": "nodemon src/index.ts",
"start": "node dist/src/index.js",
"test": "node --import tsx --test '**/*.test.ts'"
},
"dependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import express from "express";
import {
getMediaSettingsHandler,
updateMediaSettingsHandler,
} from "../media-settings/handlers";
} from "./handlers";
import apikey from "../apikey/middleware";

export default (passport: any) => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 05152af

Please sign in to comment.