Browse Source

Revert "Merge pull request #18 from writeas/include-coll"

This reverts commit 8463946e2d6b211208c04eb6832f155865d12de3, reversing
changes made to 8cf5d505602d7ac9edc9488e0ce087550a826725.
Matt Baer 7 months ago
parent
commit
ada6b850c1
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      post.go

+ 2
- 2
post.go View File

@@ -38,7 +38,7 @@ type (
38 38
 	// PostParams holds values for creating or updating a post.
39 39
 	PostParams struct {
40 40
 		// Parameters only for updating
41
-		ID    string `json:"id,omitempty"`
41
+		ID    string `json:"-"`
42 42
 		Token string `json:"token,omitempty"`
43 43
 
44 44
 		// Parameters for creating or updating
@@ -55,7 +55,7 @@ type (
55 55
 		Crosspost []map[string]string `json:"crosspost,omitempty"`
56 56
 
57 57
 		// Parameters for collection posts
58
-		Collection string `json:"collection,omitempty"`
58
+		Collection string `json:"-"`
59 59
 	}
60 60
 
61 61
 	// PinnedPostParams holds values for pinning a post