allow device to be saved in postgresql

This commit is contained in:
Stefan Melmuk 2025-12-02 03:23:00 +01:00
parent 531bf440b6
commit 7b56458e89
No known key found for this signature in database
GPG Key ID: 817020C608FE9C09

View File

@ -154,7 +154,7 @@ impl Device {
.values(&*self)
.on_conflict((devices::uuid, devices::user_uuid))
.do_update()
.set(self)
.set(&*self)
.execute(conn),
10,
).map_res("Error saving device")