Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

getCalls eventually throws an error #24

@jzakotnik

Description

@jzakotnik

I am polling getCalls in this lib and always after a while I receive this error:

Cannot read properties of undefined (reading 'replace')
1| |     at fritzFormat.callType (/home/x/dev/x/node_modules/fritzbox.js/src/format.js:93:11)
1| |     at fritzFormat.calls (/home/x/dev/x/node_modules/fritzbox.js/src/format.js:21:25)
1| |     at fritzFon.getCalls (/home/x/dev/x/node_modules/fritzbox.js/src/fon.js:30:38)

I assume that the API Call returns something strange, will try to debug. Anyone else having the issue?

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