Commit graph

5 commits

Author SHA1 Message Date
f5b205f90c api/clients.post (checkIsClient): Fix opposite condition for the patch parameter.
previously, when patch was true, it was requiring the values in the fields.
and vice versa.
It turns out the "patch" variable was negated for some reason.
2023-11-09 11:39:00 +01:00
eebf25198d Replace mysql2 with prisma
also I updated packages,
and properly typed api input
a lot of time was spent, I don't remeber what really I did x3
but everything was related to replacing mysql2 with prisma
2023-11-08 05:36:12 +01:00
1d893c4a78 Update dependencies, fix (auto)import problems 2023-11-07 17:36:30 +01:00
67cad656d5 factor out common api code 2023-05-11 09:11:20 +02:00
1e63e008af Initial commit 2023-05-11 06:03:22 +02:00