Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jan 1, 2023
1 parent fa4c41d commit 3cf206e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/with-cookies-next/pages/api/get-api-cookie.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { getCookie, getCookies } from 'cookies-next'
import { NextApiRequest, NextApiResponse } from 'next'

export default async function getApiCookie(req: NextApiRequest, res: NextApiResponse) {
export default async function getApiCookie(
req: NextApiRequest,
res: NextApiResponse
) {
try {
const currentCookie = getCookie('api-cookie', { req, res })
const allCookies = getCookies({ req, res })
Expand Down

0 comments on commit 3cf206e

Please sign in to comment.