Skip to content

Commit 7a790e3

Browse files
committed
0.39.1
1 parent c964278 commit 7a790e3

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ authors = [
2222
edition = "2024"
2323
license = "MIT OR Apache-2.0"
2424
rust-version = "1.85.0"
25-
version = "0.39.0"
25+
version = "0.39.1"
2626

2727
[workspace.dependencies]
2828
mooc-langs-api = { git = "https://github.com/rage/secret-project-331.git", rev = "24179d597e5f4120649be50b903a9a4e544ea77c" }

crates/bindings/tmc-langs-node/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ fn paste(mut cx: FunctionContext) -> JsResult<JsValue> {
612612

613613
let locale = locale.map(|l| Language::from_639_3(&l).expect("Invalid locale"));
614614
let res = with_client(client_name, client_version, |client| {
615-
Ok(client.paste(exercise_id, &submission_path, paste_message, locale, 500)?)
615+
Ok(client.paste(exercise_id, &submission_path, paste_message, locale, 1)?)
616616
});
617617
convert_res(&mut cx, res)
618618
}
@@ -636,7 +636,7 @@ fn request_code_review(mut cx: FunctionContext) -> JsResult<JsValue> {
636636
&submission_path,
637637
message_for_reviewer,
638638
Some(locale),
639-
500,
639+
1,
640640
)?)
641641
});
642642
convert_res(&mut cx, res)

0 commit comments

Comments
 (0)