Skip to content

Commit 2419bef

Browse files
committed
Add missing #[strum(default)] to PostEndpointType
1 parent 699b1b3 commit 2419bef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wp_api/src/request/endpoint/posts_endpoint.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ enum PostsRequest {
3434
pub enum PostEndpointType {
3535
Posts,
3636
Pages,
37+
#[strum(default)]
3738
Custom(String),
3839
}
3940

0 commit comments

Comments
 (0)