Skip to content

Commit

Permalink
fix: debug not error
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhooks committed Nov 14, 2024
1 parent d397771 commit 69a665a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/api/cio-subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const cioSubscriber = async (req: NextApiRequest, res: NextApiResponse) => {
// res.setHeader('Cache-Control', 'max-age=1, stale-while-revalidate')
res.status(200).json(subscriber)
} else {
console.error('no subscriber was loaded')
console.debug('no subscriber was loaded')
res.status(200).end()
}
} catch (error: any) {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/topic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const cioTopicScore = async (req: NextApiRequest, res: NextApiResponse) => {

res.status(200).end()
} else {
console.error('no subscriber was loaded')
console.debug('no subscriber was loaded')
res.status(200).end()
}
} catch (error) {
Expand Down

0 comments on commit 69a665a

Please sign in to comment.