Include the base commit and target commit in the compare output
This makes it easier to make other requests with the response body.
This commit is contained in:
parent
3cb8ce51fc
commit
2fa9f151f6
1 changed files with 3 additions and 1 deletions
|
|
@ -228,7 +228,9 @@
|
|||
mime-types)
|
||||
((application/json)
|
||||
(render-json
|
||||
`((channel-news . ,(list->vector
|
||||
`((base-commit . ,(assq-ref query-parameters 'base_commit))
|
||||
(target-commit . ,(assq-ref query-parameters 'target_commit))
|
||||
(channel-news . ,(list->vector
|
||||
(map
|
||||
(match-lambda
|
||||
((commit tag title_text body_text change)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue