Skip to content

Commit

Permalink
fixup! fix: post.ID and make the property called ID
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Jan 25, 2024
1 parent 324fb80 commit 81c0418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SyndiKit/Formats/Media/Wordpress/WordPressPost.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public struct WordPressPost {
self.pingStatus = pingStatus
self.parentID = parentID
self.menuOrder = menuOrder
self.ID = id
ID = id
self.isSticky = isSticky
self.postDate = postDate
self.postDateGMT = postDateGMT
Expand Down Expand Up @@ -181,7 +181,7 @@ extension WordPressPost {
self.pingStatus = pingStatus.value
self.parentID = parentID
self.menuOrder = menuOrder
self.ID = id
ID = id
self.isSticky = (isSticky != 0)
self.postDate = postDate
postDateGMT = item.wpPostDateGMT
Expand Down

0 comments on commit 81c0418

Please sign in to comment.