Skip to content

Commit dd36022

Browse files
committed
chore: move shared server code to lib folder
Signed-off-by: Daniel Thorp <arcanistzed@gmail.com>
1 parent e7b7cc7 commit dd36022

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/server/api/routers/hackers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { EventEmitter } from "events";
44
import { z } from "zod";
55
import { applySchema, walkInSchema } from "../../../utils/common";
66
import { hasRoles } from "../../../utils/helpers";
7-
import { logAuditEntry } from "../../audit";
7+
import { logAuditEntry } from "../../lib/audit";
88
import { createTRPCRouter, protectedProcedure, publicProcedure } from "../trpc";
99

1010
const DEFAULT_ACCEPTANCE_EXPIRY = new Date(2023, 2, 6, 5, 0, 0, 0); // 2023-03-06 00:00:00 EST

src/server/api/routers/presence.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { EventEmitter } from "events";
55
import { z } from "zod";
66
import { hasRoles } from "../../../utils/helpers";
77

8-
import { logAuditEntry } from "../../audit";
8+
import { logAuditEntry } from "../../lib/audit";
99
import { createTRPCRouter, protectedProcedure, publicProcedure } from "../trpc";
1010

1111
const ee = new EventEmitter();

src/server/api/routers/users.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { z } from "zod";
33
import { hasRoles } from "../../../utils/helpers";
44
import { createTRPCRouter, protectedProcedure, publicProcedure } from "../trpc";
55
import { roles } from "../../../utils/common";
6-
import { logAuditEntry } from "../../audit";
6+
import { logAuditEntry } from "../../lib/audit";
77

88
export const userRouter = createTRPCRouter({
99
// Sign up a new user

0 commit comments

Comments
 (0)