fix some type errors

This commit is contained in:
Kalle (Sendou)
2021-04-10 15:47:11 +03:00
parent a812561a83
commit a70d1ec4f9
2 changed files with 2 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
import service from "app/freeagents/service";
import { createRouter } from "pages/api/trpc/[trpc]";
import { throwIfNotLoggedIn } from "utils/api";
import { freeAgentPostSchema } from "utils/validators/fapost";
import * as z from "zod";
import service from "./service";
const freeAgentsApi = createRouter()
.query("posts", {

View File

@@ -2,7 +2,7 @@ import * as trpc from "@trpc/server";
import { inferAsyncReturnType, inferProcedureOutput } from "@trpc/server";
import * as trpcNext from "@trpc/server/adapters/next";
import calendarApi from "app/calendar/api";
import freeAgentsApi from "app/freeAgents/api";
import freeAgentsApi from "app/freeagents/api";
import plusApi from "app/plus/api";
import superjson from "superjson";
import { getMySession } from "utils/api";