add profile api endpoint for verification
This commit is contained in:
parent
a35a91b710
commit
b0c57f4cd8
1 changed files with 7 additions and 0 deletions
7
src/pages/api/profiles.ts
Normal file
7
src/pages/api/profiles.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import type { NextApiRequest, NextApiResponse } from 'next'
|
||||
import constants from "@/lib/constants"
|
||||
|
||||
|
||||
export default function handler(req: NextApiRequest, res: NextApiResponse<Data>) {
|
||||
res.status(200).json({...constants.socials})
|
||||
}
|
Loading…
Add table
Reference in a new issue