1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-22 19:02:54 +01:00

Merge pull request #3405 from BlackDex/fix-multiple-websocket-messages

Fix sending out multiple websocket notifications
This commit is contained in:
Daniel García 2023-04-02 15:24:00 +02:00 committed by GitHub
commit c5bcc340fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -715,6 +715,7 @@ impl UserOrganization {
) )
) )
.select(users_organizations::all_columns) .select(users_organizations::all_columns)
.distinct()
.load::<UserOrganizationDb>(conn).expect("Error loading user organizations").from_db() .load::<UserOrganizationDb>(conn).expect("Error loading user organizations").from_db()
}} }}
} }