Skip to content

Commit

Permalink
more explicit mandatory registration result
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonwittwer committed Nov 30, 2023
1 parent c5fe6e1 commit 291ab91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shopify_api/webhooks/registry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def register(topic:, session:)
params(topic: String).returns(RegisterResult)
end
def mandatory_registration_result(topic)
RegisterResult.new(topic: topic, success: true, body: nil)
RegisterResult.new(topic: topic, success: false, body: "Mandatory webhooks are to be registered in the partners dashboard")
end

sig do
Expand Down

0 comments on commit 291ab91

Please sign in to comment.