Skip to content

Commit 6f6d81a

Browse files
authored
fix: formatt issues
1 parent 0e12b47 commit 6f6d81a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ pub async fn main(_e: ScheduledEvent, env: Env, _ctx: ScheduleContext) {
4343
return;
4444
}
4545

46-
let Ok(endpoint) = env.var("CANGREBOT_API_ENDPOINT").map(|e| format!("{}/daily_challenge", e.to_string())) else {
46+
let Ok(endpoint) = env
47+
.var("CANGREBOT_API_ENDPOINT")
48+
.map(|e| format!("{}/daily_challenge", e.to_string()))
49+
else {
4750
console_error!("Cannot get 'CANGREBOT_API_ENDPOINT' environment variable");
4851
return;
4952
};

0 commit comments

Comments
 (0)