Skip to content

Commit 58ce6cb

Browse files
committed
fix: on homepage display
1 parent 190475c commit 58ce6cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/post/create.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ impl Post {
1616
"postType": 1,
1717
"title": title,
1818
"postBody": body,
19-
"isPublished": publish
19+
"isPublished": publish,
20+
"displayOnHomePage": true
2021
});
2122
client.post(url).json(&body).pat_auth(&self.pat)
2223
};

0 commit comments

Comments
 (0)