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:
parent
751bc0fd38
commit
46d3c58ee3
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user