Skip to content

Commit

Permalink
console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesr66a committed Oct 8, 2024
1 parent c691f5e commit 8f6ddba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/functional_chat/pages/api/functions/stockQuote.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { NextApiRequest, NextApiResponse } from 'next';
import { cache } from '~/lib/cache';

// biome-ignore lint/complexity/noStaticOnlyClass: <explanation>
class Api {
static async spec(req: NextApiRequest, res: NextApiResponse) {
res.json({
Expand Down Expand Up @@ -49,6 +50,8 @@ class Api {

const data = await response.json();

console.log(data);

res.json(data);
}
}
Expand Down

0 comments on commit 8f6ddba

Please sign in to comment.