media-cloud-ai / mcai_worker_sdk

:warning: This project has been migrated and split into https://gitlab.com/media-cloud-ai/sdks/rs_mcai_worker_sdk and https://gitlab.com/media-cloud-ai/sdks/py_mcai_worker_sdk. This repository is not supported anymore.
2 stars 1 forks source link

Token not found in the store #135

Closed jonscherman closed 3 years ago

jonscherman commented 3 years ago

When I write in a workflow that :

            {
                "id": "accesstoken",
                "type": "template",
                "store": "BACKEND",
                "value": "{provider}_TOKEN"
            }

The message sent in the worker queue don't take the "store" attribute : {"id":"accesstoken","type":"string","value":"SPEECHMATICS_TOKEN"}

It should be this message instead : {"id":"accesstoken","store":"BACKEND","type":"string","value":"SPEECHMATICS_TOKEN"}

Thus, the token value is not found in the store because of this missing "store" attribute.

jonscherman commented 3 years ago

I put this issue in ex_step_flow project : https://github.com/media-io/ex_step_flow/issues/87