Skip to content

Plan Duration is Optional but Enforced by Morx #44

@mugendi

Description

@mugendi

When creating plans using the javascript client, an error is thrown by Morx when duration is not set:

(node:36522) UnhandledPromiseRejectionWarning: Error: duration is required
    at throwErrorWhen (/home/mugz/projects/node/unto/node_modules/morx/lib/morx.param.extractor.js:61:9)

This functionality contradicts the API documentation which clearly indicates that this parameter is optional.

What is the position. Is duration optional or not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions