1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-23 05:20:28 +01:00

Fix error in PostgreSQL build

Dieser Commit ist enthalten in:
Jeremy Lin 2020-07-10 17:23:02 -07:00
Ursprung af625930d6
Commit 790146bfac

Datei anzeigen

@ -227,8 +227,10 @@ impl CollectionUser {
)) ))
.on_conflict((users_collections::user_uuid, users_collections::collection_uuid)) .on_conflict((users_collections::user_uuid, users_collections::collection_uuid))
.do_update() .do_update()
.set(users_collections::read_only.eq(read_only)) .set((
.set(users_collections::hide_passwords.eq(hide_passwords)) users_collections::read_only.eq(read_only),
users_collections::hide_passwords.eq(hide_passwords),
))
.execute(&**conn) .execute(&**conn)
.map_res("Error adding user to collection") .map_res("Error adding user to collection")
} }