Skip to content

Commit

Permalink
Corrected condition
Browse files Browse the repository at this point in the history
  • Loading branch information
myOmikron committed Apr 27, 2023
1 parent 196b3e0 commit 6445240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chan/ws_manager_chan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ pub async fn start_ws_manager(db: Database) -> Result<WsManagerChan, String> {

// Check if the account was a lobby owner
match query!(&mut tx, Lobby)
.condition(LobbyAccount::F.lobby.owner.equals(uuid.as_ref()))
.condition(Lobby::F.owner.equals(uuid.as_ref()))
.optional()
.await
{
Expand Down

0 comments on commit 6445240

Please sign in to comment.