Save whole JSON
This commit is contained in:
parent
00f19bd654
commit
734d9ad243
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||
await prisma.credential.create({
|
||||
data: {
|
||||
type: 'zoom',
|
||||
key: result.access_token,
|
||||
key: result,
|
||||
userId: session.user.id
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue