Skip to content

Error when trying to sync time entry #2

@willowchung

Description

@willowchung
❯ baires-tracker sync -d 01/11/22
/opt/pinterest/nvm/versions/node/v16.18.1/lib/node_modules/baires-tracker/src/clockify.js:50
        tags: tags.map((t) => t.name),
                   ^

TypeError: Cannot read properties of undefined (reading 'map')
    at /opt/pinterest/nvm/versions/node/v16.18.1/lib/node_modules/baires-tracker/src/clockify.js:50:20
    at Array.map (<anonymous>)
    at Object.getTimeEntries (/opt/pinterest/nvm/versions/node/v16.18.1/lib/node_modules/baires-tracker/src/clockify.js:33:38)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Command.command (/opt/pinterest/nvm/versions/node/v16.18.1/lib/node_modules/baires-tracker/bin/baires-tracker-sync:22:19)
    at async Command.parseAsync (/opt/pinterest/nvm/versions/node/v16.18.1/lib/node_modules/baires-tracker/node_modules/commander/lib/command.js:923:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions