Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Перестала работать деактивация контроллеров #36

@ed-asriyan

Description

@ed-asriyan

пытаюсь деактивировать контроллер с id=2:

$ curl -X DELETE 'http://meter4.me:5000/v2/controller/2/activate?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxfQ.67xd4JeTDQDOyJ3jLUxsAC937QKe9UoaEC4pYKeTaus'
{
    "code": 0,
    "msg": {
        "id": 2,
        "name": "6",
        "meta": "",
        "object_id": 12,
        "activation_date": 1551571200,
        "status": 0,
        "mac": "6b:45:cd:97:48:49",
        "controller_type": 1,
        "deactivation_date": null,
        "payments": {
            "charge": 0,
            "overpayment": 0,
            "for_payment": 0
        }
    }
}

после этого он всё равно появляется в ответе на /v2/user/relations

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcritical

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions