Skip to content

Commit

Permalink
all logs
Browse files Browse the repository at this point in the history
  • Loading branch information
RamRamez committed Aug 23, 2024
1 parent 41f922c commit 484a111
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/routes/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ const bot = async (req: Request) => {
const body = await req.text();
const hookData = JSON.parse(body);

console.log('--------------------')
console.log(hookData.data)
console.log('--------------------')

const reply = await neynarClient.publishCast(
process.env.SIGNER_UUID,
`gm ${hookData.data.author.username}`,
{
embeds: [
{
url: process.env.APP_URL + routes.frog,
url: process.env.APP_URL!,
},
],
replyTo: hookData.data.hash,
Expand Down
1 change: 1 addition & 0 deletions src/routes/frog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import routes from "./routes.js";
export const frogApp = new Frog({
// Supply a Hub to enable frame verification.
// hub: neynar({ apiKey: 'NEYNAR_FROG_FM' }),
assetsPath: '/',
basePath: routes.frog,
title: 'Praise in Farcaster!',
})
Expand Down

0 comments on commit 484a111

Please sign in to comment.