Fix some tests
This commit is contained in:
parent
2456c077f6
commit
3412becfc5
2 changed files with 10 additions and 9 deletions
|
@ -143,7 +143,8 @@ impl Database {
|
|||
channel_id: ActiveValue::Set(channel_id_to_join),
|
||||
user_id: ActiveValue::Set(user_id),
|
||||
accepted: ActiveValue::Set(true),
|
||||
role: ActiveValue::Set(ChannelRole::Guest),
|
||||
// TODO: change this back to Guest.
|
||||
role: ActiveValue::Set(ChannelRole::Member),
|
||||
})
|
||||
.exec(&*tx)
|
||||
.await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue