File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -207,17 +207,14 @@ getCommitDateRequest { address, commitSha } =
207207 , headers: Object .empty
208208 , args: noArgs
209209 , paginate: false
210- , codec: Profunctor .dimap toJsonRep fromJsonRep $ CJ .named " CommitData" $ CJ.Record .object
211- { data: CJ .named " Commit" $ CJ.Record .object
212- { committer: CJ .named " Commit.committer" $ CJ.Record .object
213- { date: Internal.Codec .iso8601DateTime
214- }
215- }
210+ , codec: Profunctor .dimap toJsonRep fromJsonRep $ CJ .named " Commit" $ CJ.Record .object
211+ { committer: CJ .named " Commit.committer" $ CJ.Record .object
212+ { date: Internal.Codec .iso8601DateTime }
216213 }
217214 }
218215 where
219- toJsonRep date = { data: { committer: { date } } }
220- fromJsonRep = _.data. committer.date
216+ toJsonRep date = { committer: { date } }
217+ fromJsonRep = _.committer.date
221218
222219-- | Create a comment on an issue. Requires authentication.
223220-- | https://github.com/octokit/plugin-rest-endpoint-methods.js/blob/v5.16.0/docs/issues/createComment.md
You can’t perform that action at this time.
0 commit comments