fix: rust ci (#5115)

* fix: rust ci

* fix: flutter ci
This commit is contained in:
Lucas.Xu
2024-04-11 20:15:40 +08:00
committed by GitHub
parent 3a42e94907
commit 39d8d428a6
7 changed files with 10 additions and 15 deletions

View File

@ -31,7 +31,7 @@ impl EventIntegrationTest {
}
pub async fn invite_workspace_member(&self, workspace_id: &str, email: &str, role: Role) {
if let Some(err) = EventBuilder::new(self.clone())
EventBuilder::new(self.clone())
.event(UserEvent::InviteWorkspaceMember)
.payload(WorkspaceMemberInvitationPB {
workspace_id: workspace_id.to_string(),
@ -39,11 +39,7 @@ impl EventIntegrationTest {
role: role.into(),
})
.async_send()
.await
.error()
{
panic!("Invite workspace member failed: {:?}", err);
}
.await;
}
pub async fn list_workspace_invitations(&self) -> RepeatedWorkspaceInvitationPB {