Skip to content

Commit 5b6153b

Browse files
committed
fix: wrong index in document hook
1 parent 2ebe070 commit 5b6153b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/document.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ pub fn document(Json(args): Json<Vec<Value>>) -> FnResult<String> {
3030
\"blocks\": [
3131
{}
3232
]
33-
}}", text[1..text.len()-1].to_string()))
33+
}}", text[0..text.len()-1].to_string()))
3434
}

0 commit comments

Comments
 (0)