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)
|
mime-types)
|
||||||
((application/json)
|
((application/json)
|
||||||
(render-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
|
(map
|
||||||
(match-lambda
|
(match-lambda
|
||||||
((commit tag title_text body_text change)
|
((commit tag title_text body_text change)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue