File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -207,17 +207,14 @@ getCommitDateRequest { address, commitSha } =
207
207
, headers: Object .empty
208
208
, args: noArgs
209
209
, 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 }
216
213
}
217
214
}
218
215
where
219
- toJsonRep date = { data: { committer: { date } } }
220
- fromJsonRep = _.data. committer.date
216
+ toJsonRep date = { committer: { date } }
217
+ fromJsonRep = _.committer.date
221
218
222
219
-- | Create a comment on an issue. Requires authentication.
223
220
-- | 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