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
1 changed files with 1 additions and 0 deletions

View File

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