remove type from api/profile res
This commit is contained in:
parent
638e78d89e
commit
9540cab4bb
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ import type { NextApiRequest, NextApiResponse } from 'next'
|
||||||
import constants from "@/lib/constants"
|
import constants from "@/lib/constants"
|
||||||
|
|
||||||
|
|
||||||
export default function handler(req: NextApiRequest, res: NextApiResponse<Data>) {
|
export default function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||||
res.status(200).json({...constants.socials})
|
res.status(200).json({...constants.socials})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue