commit c5bcc340faeb9986a981c506b57588744cab917e
parent 867c6ba056cd88617fa06dde952c8f391ac132a6
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 2 Apr 2023 15:24:00 +0200
Merge pull request #3405 from BlackDex/fix-multiple-websocket-messages
Fix sending out multiple websocket notifications
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs
@@ -715,6 +715,7 @@ impl UserOrganization {
)
)
.select(users_organizations::all_columns)
+ .distinct()
.load::<UserOrganizationDb>(conn).expect("Error loading user organizations").from_db()
}}
}