Skip to content

Commit

Permalink
🐛 Remove authentication check on purchase tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Sep 30, 2024
1 parent 3f29af1 commit e945745
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { nextSessionContext } from "@backend-common";
import { t } from "@backend-utils";
import { Elysia } from "elysia";
import { interactionsContext } from "../context";
import { interactionsPurchaseTrackerTable } from "../db/schema";

export const purchaseInteractionsRoutes = new Elysia()
.use(interactionsContext)
.use(nextSessionContext)
.post(
"/listenForPurchase",
async ({ body, interactionsDb }) => {
Expand All @@ -22,8 +20,6 @@ export const purchaseInteractionsRoutes = new Elysia()
});
},
{
isAuthenticated: "nexus",

body: t.Object({
wallet: t.Address(),
customerId: t.String(),
Expand Down

0 comments on commit e945745

Please sign in to comment.