1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2025-01-31 22:05:20 +01:00

Make car settings save now

This commit is contained in:
Rin 2022-07-16 21:08:06 +01:00
parent 751bc0fd38
commit 46d3c58ee3

View File

@ -45,6 +45,14 @@ export default class GameModule extends Module {
break;
}
}
await prisma.carSettings.update({
where: {
dbId: car!.carSettingsDbId
},
data: {
...body.setting
}
});
let user = await prisma.user.findFirst({
where: {
id: body.car!.userId!