File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ if [ -n "$curl_opts" ]; then
211
211
fi
212
212
213
213
if [ -n " $webhook_auth " ] && [ " $auth_type " == " bearer" ]; then
214
- options=" -H 'Authorization: Bearer $webhook_auth ' \\ "
214
+ options=" $options -H 'Authorization: Bearer $webhook_auth '"
215
215
fi
216
216
217
217
if [ -n " $webhook_auth " ] && [ " $auth_type " == " header" ]; then
@@ -223,9 +223,9 @@ if [ -n "$webhook_auth" ] && [ "$auth_type" == "header" ]; then
223
223
# and consider a potential fail-safe for user error, and resort to setting the
224
224
# entire value as an Authorization token - the attempt at trying to resolve what
225
225
# the author meant may or may not be a better approach than just letting it error?
226
- options=" -H 'Authorization: $webhook_auth ' \\ "
226
+ options=" $options -H 'Authorization: $webhook_auth '"
227
227
else
228
- options=" -H '$header_name : $header_value ' \\ "
228
+ options=" $options -H '$header_name : $header_value '"
229
229
fi
230
230
fi
231
231
You can’t perform that action at this time.
0 commit comments