mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-16 04:09:03 +00:00
allow device to be saved in postgresql
This commit is contained in:
parent
531bf440b6
commit
7b56458e89
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user