Skip to content

Commit 175e4b7

Browse files
authored
Merge pull request #309 from DeployGate/fix/invalid_boolean_request
The both of 'yes' and 'no' as boolean request parameter are not valid
2 parents 9e1440f + 4248ada commit 175e4b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/deploygate/api/v1/push.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def upload(command, file_path, target_user, token, message, distribution_key, di
2424
{ :file => file ,
2525
:message => message,
2626
:distribution_key => distribution_key,
27-
:disable_notify => disable_notify ? 'yes' : 'no',
27+
:disable_notify => disable_notify,
2828
:dg_command => command || '',
2929
:env_ci => env_ci
3030
}) { process_block.call unless process_block.nil? }

0 commit comments

Comments
 (0)