Deploy command fails

Created on 7 February 2024, 5 months ago
Updated 22 February 2024, 4 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.69.0 2024