Skip to content

Commit

Permalink
Set post_name as slug in content struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiagr committed Jan 22, 2020
1 parent 01288b4 commit 5cec435
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ private static Map<String, Object> postModelToContentStruct(PostModel post) {
}

contentStruct.put("post_excerpt", post.getExcerpt());
contentStruct.put("post_name", post.getSlug());
contentStruct.put("post_status", post.getStatus());

// Geolocation
Expand Down

0 comments on commit 5cec435

Please sign in to comment.