Skip to content

Commit

Permalink
Add temporary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization committed Oct 20, 2023
1 parent 520985d commit 69ada74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/messages/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default class Agent implements Party.Server {

async onRequest(req: Party.Request) {
try {
console.log(req.url);
if (req.method === 'POST') {
const body = await req.json();
const result = valibot.safeParse(requests, body);
Expand Down

0 comments on commit 69ada74

Please sign in to comment.