Try again

This commit is contained in:
Micke Nordin 2023-09-02 12:19:33 +02:00
parent d540c90afa
commit c7bd0fa965
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -73,9 +73,9 @@ curl_cmd(){
curl -X "${method}" -u "admin:${admin_app_password}" "${payload[@]}" -H 'OCS-APIRequest: true' "https://${customer}.${domain}/ocs/v2.php/apps/announcementcenter/api/v1/announcements${id}" curl -X "${method}" -u "admin:${admin_app_password}" "${payload[@]}" -H 'OCS-APIRequest: true' "https://${customer}.${domain}/ocs/v2.php/apps/announcementcenter/api/v1/announcements${id}"
} }
#<%- index = 0 -%> #<%- index = 0 %>
#<%- @multinodes.each do |customer| %> #<%- @multinodes.each do |customer| %>
curl_cmd "<%= @multinode_passwords[index] %>" "<%= customer %>" "${method}" "${argument}" curl_cmd "<%= @multinode_passwords[index] %>" "<%= customer %>" "${method}" "${argument}"
#<%- index += 1 -%> #<%- index += 1 %>
#<%- end %> #<%- end %>