Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

null fields populated as "None" (string) on AWS account creation #133

Closed
@lucab

Description

For some reason, when adding new accounts, null string fields get populated as 'None' (string).
You can see it when adding a new AWS account in the Setting panel.

When leaving some string fields empty, this is the request:

POST https://host/api/1/accounts

{"id":null,"active":true,"third_party":false,"name":"test","s3_name":"","number":"123","notes":null,"role_name":null}

and this is the reply:

{"third_party": false, "role_name": "None", "number": "123", "name": "test", "active": true, "notes": "None", "id": 49, "s3_name": "", "auth": {"authenticated": true, "user": "user"}}

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions