Skip to content

Commit f09f4bd

Browse files
committed
fix: format code, fix CI
1 parent 8770b04 commit f09f4bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/daily_task/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub async fn run_daily_task_at_midnight(pool: Arc<PgPool>) {
1717
loop {
1818
let now = chrono::Utc::now().with_timezone(&Kolkata);
1919
let naive_midnight =
20-
NaiveTime::from_hms_opt(20, 22, 00).expect("Hardcoded time must be valid");
20+
NaiveTime::from_hms_opt(00, 30, 00).expect("Hardcoded time must be valid");
2121
let today_midnight = now
2222
.with_time(naive_midnight)
2323
.single()

src/graphql/api/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ pub mod leaderboard_api;
22

33
pub use leaderboard_api::fetch_and_update_codeforces_stats;
44
pub use leaderboard_api::fetch_and_update_leetcode;
5-
pub use leaderboard_api::update_leaderboard_scores;
5+
pub use leaderboard_api::update_leaderboard_scores;

src/graphql/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ use queries::{
77
AttendanceQueries, LeaderboardQueries, MemberQueries, ProjectQueries, StreakQueries,
88
};
99

10+
pub mod api;
1011
pub mod mutations;
1112
pub mod queries;
12-
pub mod api;
1313

1414
#[derive(MergedObject, Default)]
1515
pub struct Query(

0 commit comments

Comments
 (0)