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

@@ -170,7 +170,8 @@ impl User {
/// Check if this user can acquire another server
pub async fn can_acquire_server(&self, db: &Database) -> Result<bool> {
// ! FIXME: hardcoded max server count
// hardcoded max server count
// NB. fixed in new crate
Ok(db.fetch_server_count(&self.id).await? <= 100)
}