Skip to content

Use ServiceResponse in WebHookService

Luke Duncalfe requested to merge ld-use-service-response-in-WebHookService into master

What does this MR do and why?

This is small refactor to use ServiceResponse in WebHookService. It should have no functional change.

The response is used in WebHooks::HookExecutionNotice and that code requires no change:

ServiceResponse.success(message: 'Foo', http_status: 200).to_h => {:status=>:success, :message=>"Foo", :http_status=>200, :reason=>nil}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Luke Duncalfe

Merge request reports

Loading