Skip to main content

What is requeter for ?

requeter.ts is where we put all the prisma request that we call in our function / API, the are 2 sections in requeter.ts:

  • 'admin only' => contain all admin only request (fetch all users / alter any user / account type changement)
  • 'public' => all other request that can be used by any user

/!\ Do not move requeter.ts