Skip to content

Commit

Permalink
Format+Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Jul 14, 2022
1 parent da9f80f commit 4733e7b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/inx-chronicle/src/api/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,7 @@ async fn is_healthy(database: &MongoDb) -> Result<bool, ApiError> {
}

// Check if there are no gaps in the sync status.
if !database
.get_gaps()
.await?
.gaps
.is_empty()
{
if !database.get_gaps().await?.is_empty() {
return Ok(false);
};
}
Expand Down

0 comments on commit 4733e7b

Please sign in to comment.