summaryrefslogtreecommitdiff
path: root/lib/api/notes.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-05-16 12:53:54 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2018-05-16 12:53:54 +0200
commit33af33d7cbf947055a2a40dc2dddf74dfb13079c (patch)
tree2addb0fa11738df14a91afe26160fd7f229c2ca4 /lib/api/notes.rb
parent75f94fc39bedbc635bd4bc52cdf145d1e81752dd (diff)
downloadgitlab-ce-33af33d7cbf947055a2a40dc2dddf74dfb13079c.tar.gz
Fix GPM content types for Doorkeeper
Certain controllers (e.g. Doorkeeper::TokensController) don't expose the method "request_format". This commit changes Gitlab::Metrics::WebTransaction so we don't rely on this method, instead using the underlying code this method uses. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/46412
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions