Deploy command fails

Created on 7 February 2024, 11 months ago
Updated 22 February 2024, 10 months ago

Problem/Motivation

The deploy command in the WodbyClientService fails with ERROR 500 when posting the data to the Wodby API. The reason is a too deep nested array when submitting the JSON data.

Steps to reproduce

Proposed resolution

$response = $this->wodbyClient->request('POST', 'instances/' . $instance_id . '/deploy', ['json' => [$data]]);

would need to be

$response = $this->wodbyClient->request('POST', 'instances/' . $instance_id . '/deploy', ['json' => $data]);

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany szeidler Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024