Skip to content

Commit 6bf7b72

Browse files
committed
fix: format code, fix CI
1 parent bc8a7ea commit 6bf7b72

7 files changed

+136
-3
lines changed

.sqlx/query-00eed700b05fd13ddbbe88daed394e408acdc61d36618361f302bf25ca3f15a4.json

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-1697cc6c5888d46b40bde260b125576e3b31d93275b267b5f2c8f39e4b7fe2ba.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-8fe3e023fde759a78e0c4071f658cc4ed4cf29158360ce3f17b87b403dcf9f15.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-d1a8d44f4608a7ca73e7e96d88678b0afdd72f2b91332a47f7f41627230dd989.json

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)