Skip to content

Commit

Permalink
fix: wrong index in document hook
Browse files Browse the repository at this point in the history
  • Loading branch information
momeemt committed Oct 18, 2024
1 parent 2ebe070 commit 5b6153b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ pub fn document(Json(args): Json<Vec<Value>>) -> FnResult<String> {
\"blocks\": [
{}
]
}}", text[1..text.len()-1].to_string()))
}}", text[0..text.len()-1].to_string()))
}

0 comments on commit 5b6153b

Please sign in to comment.