refactor: move and update fixme / todo comments

This commit is contained in:
Paul Makles
2023-10-28 14:53:39 +01:00
parent 9bf60e87e9
commit 196a856c68
14 changed files with 19 additions and 25 deletions

View File

@@ -31,8 +31,7 @@ pub async fn req(
match &channel {
Channel::Group { .. } => {
// FIXME: use permissions here?
// interesting if users could block new group invites
// TODO: use permissions here? interesting if users could block new group invites
let member = member_id.as_user(db).await?;
if !user.is_friends_with(&member.id) {
return Err(create_error!(NotFriends));

View File

@@ -148,7 +148,7 @@ mod test {
.await;
dbg!(response.into_string().await);
// TODO: finish impl
// FIXME: finish impl
// assert_eq!(response.status(), Status::NotFound);
}
@@ -185,6 +185,6 @@ mod test {
.dispatch()
.await;
// TODO: impl assert_eq!(response.status(), Status::Forbidden);
// FIXME: impl assert_eq!(response.status(), Status::Forbidden);
}
}