Skip to content

Commit

Permalink
Update Salvo examples
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Aug 22, 2022
1 parent 13b5336 commit 87f7891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/salvo_example/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use salvo::writer::Text;
use sea_orm::{entity::*, query::*, DatabaseConnection};
use tera::Tera;

const DEFAULT_POSTS_PER_PAGE: usize = 5;
const DEFAULT_POSTS_PER_PAGE: u64 = 5;
type Result<T> = std::result::Result<T, StatusError>;

#[derive(Debug, Clone)]
Expand Down

0 comments on commit 87f7891

Please sign in to comment.