⚡️ add - api generationGain , api superadmin , readme , fichier de seed

This commit is contained in:
eric committed 2022-11-12 20:23:15 +01:00
1 parent 141d9e53e8
commit e85117b2c7
25 files changed
+768 -310

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ import { getSession } from 'next-auth/react'
// Required fields in body: title
export default async function handle(req: NextApiRequest, res: NextApiResponse) {
const { bioValue } = req.body;
console.log('server biovalue:', bioValue)
const session = await getSession({ req });
if (req.method === "PUT") {