tidy
This commit is contained in:
parent
b9c37e1678
commit
a3687c62ff
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ pub struct ArticleData {
|
||||||
pub content: String,
|
pub content: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[server(Slingshot, "/api", "Cbor")]
|
#[server(Slingshot)]
|
||||||
pub async fn slingshot() -> Result<ArticleData, ServerFnError> {
|
pub async fn slingshot() -> Result<ArticleData, ServerFnError> {
|
||||||
let data = ArticleData {
|
let data = ArticleData {
|
||||||
content_type: String::from("Blog"),
|
content_type: String::from("Blog"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue