Skip to content

Commit

Permalink
required
Browse files Browse the repository at this point in the history
  • Loading branch information
skiniks committed Nov 29, 2024
1 parent f288c07 commit 1d49fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/handler.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { VercelResponse } from '@vercel/node'
import type { VercelRequest, VercelResponse } from '@vercel/node'
import { fetchPetfinderToken, getToken } from '../utils/fetchPetfinderToken'
import { getRandomPet } from '../services/getRandomPet'

export default async function handler(res: VercelResponse): Promise<void> {
export default async function handler(_req: VercelRequest, res: VercelResponse): Promise<void> {
try {
await fetchPetfinderToken()
const token = getToken()
Expand Down

0 comments on commit 1d49fa6

Please sign in to comment.