Skip to content

Commit

Permalink
remove auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jtgi committed Sep 20, 2024
1 parent b019176 commit e416f05
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/routes/api.channels.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import { json, LoaderFunctionArgs } from "@remix-run/node";
import invariant from "tiny-invariant";
import { requirePartnerApiKey } from "~/lib/utils.server";
import { db } from "~/lib/db.server";
import { Rule, ruleDefinitions } from "~/lib/validations.server";

export async function loader({ request, params }: LoaderFunctionArgs) {
await requirePartnerApiKey({ request });

const channel = await db.moderatedChannel.findMany({});

const channels = channel.map((channel) => {
Expand Down

0 comments on commit e416f05

Please sign in to comment.