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

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

Open
ed-asriyan opened this issue Mar 4, 2019 · 0 comments
Assignees
Labels
bug Something isn't working critical

Comments

@ed-asriyan
Copy link
Member

пытаюсь деактивировать контроллер с 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

@ed-asriyan ed-asriyan added bug Something isn't working critical labels Mar 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working critical
Projects
None yet
Development

No branches or pull requests

2 participants