lpg2709 / clickup_api

No oficial module for ClickUp API
https://www.npmjs.com/package/clickup_api
MIT License
6 stars 11 forks source link

Code mistake, unknown token variable #16

Closed mcannesson closed 5 months ago

mcannesson commented 5 months ago

Hello, It seems there is a mistake in some methods, you get the token from this but you set it into an unknown variable "token".

Looks of in List image

But not well in Teams (and maybe in others methods) image

Thanks.

Best regards.

lpg2709 commented 5 months ago

Hi, This seems to be only a LSP alert. The token is inherited from Clickup class, and i only make an internal copy inside every function.

This (LSP mistake) seems heppen because i forgget to put the declaration identifier for the local token variable (🙃) . Because is JS, this problabi not affact the module work unitl i fix.

Gonna be fixed on the next update.

Tks for the feedback.

mcannesson commented 5 months ago

Thanks for your reply.