diff options
author | Daniel García <[email protected]> | 2024-06-20 20:54:41 +0200 |
---|---|---|
committer | Daniel García <[email protected]> | 2024-06-20 20:54:41 +0200 |
commit | 3fe72cafbcbd94b14b486ac3019b439f90deb2a1 (patch) | |
tree | 1e446026b5bb0e896144e7af280074321cf9791b /src/db/models/collection.rs | |
parent | 4988e3397461d2ea087fe22d08af5dcc29bed720 (diff) | |
parent | 8f05a90b96adfe06722d01510923759fe61a8bd6 (diff) | |
download | vaultwarden-3fe72cafbcbd94b14b486ac3019b439f90deb2a1.tar.gz vaultwarden-3fe72cafbcbd94b14b486ac3019b439f90deb2a1.zip |
Merge branch 'main' into remove_upcaseremove_upcase
Diffstat (limited to 'src/db/models/collection.rs')
-rw-r--r-- | src/db/models/collection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/models/collection.rs b/src/db/models/collection.rs index b10dd1d6..0d439757 100644 --- a/src/db/models/collection.rs +++ b/src/db/models/collection.rs @@ -632,7 +632,7 @@ impl CollectionUser { db_run! { conn: { for user in collectionusers { - diesel::delete(users_collections::table.filter( + let _: () = diesel::delete(users_collections::table.filter( users_collections::user_uuid.eq(user_uuid) .and(users_collections::collection_uuid.eq(user.collection_uuid)) )) |