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

getCalls eventually throws an error #24

Open
jzakotnik opened this issue Nov 22, 2024 · 0 comments
Open

getCalls eventually throws an error #24

jzakotnik opened this issue Nov 22, 2024 · 0 comments

Comments

@jzakotnik
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant