Skip to content

fix(server/vehicle): send vehicle properties on db creation#220

Merged
thelindat merged 9 commits into
overextended:mainfrom
andreutu:main
Jan 21, 2025
Merged

fix(server/vehicle): send vehicle properties on db creation#220
thelindat merged 9 commits into
overextended:mainfrom
andreutu:main

Conversation

@andreutu

Copy link
Copy Markdown
Contributor

This PR aims to add the vehicle properties to the vehicle's metadata, which will get added to the database, on creation.

@andreutu

Copy link
Copy Markdown
Contributor Author

Did a small change. Basically, when creating a vehicle, the properties are under data.properties. But, when spawning one, the properties are under data.data.properties. The recent commit should check both cases of where the data can exist.
I think (and hope) that these changes are good enough and don't require any more tinkering.

@thelindat thelindat merged commit 401ddc5 into overextended:main Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants