]> source.dussan.org Git - gitea.git/commit
Fix API for edit and delete release attachment (#8290)
authorDavid Svantesson <davidsvantesson@gmail.com>
Thu, 26 Sep 2019 13:16:47 +0000 (15:16 +0200)
committerLunny Xiao <xiaolunwen@gmail.com>
Thu, 26 Sep 2019 13:16:47 +0000 (21:16 +0800)
commit7156e2a71aa97565927df83df78d384b84de929e
tree771a3d7d6434b5481effc57b1c275321331eabe1
parente51d91a258630eb3bdd662eea34ba2ca9341a915
Fix API for edit and delete release attachment (#8290)

* Add logging for when user requested attachment doesn't belong to the specified release.

* Fix API to use correct variable for release asset (attachment)
routers/api/v1/repo/release_attachment.go