geexup / clockify-telegram-bot Goto Github PK
View Code? Open in Web Editor NEWTelegram bot for Clockify (@clockify_bot)
License: MIT License
Telegram bot for Clockify (@clockify_bot)
License: MIT License
Weekly report crashed before image rendering:
Ooops TypeError: Cannot read property 'name' of undefined
at _loop_1 (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:65:37)
at /Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:135:25
at step (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:43:23)
at Object.next (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:24:53)
at fulfilled (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:15:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
Because the project variable was undefined
const project = projects.find((item) => item.id === projectId);
Project.get() returns only 50 projects. Projects from timesheet were not represented in this range.
const projects = await getClockify(ctx).workspaces(activeWorkspace.id).projects.get();
On Timesheet page, Clockify frontend uses the entriesInRange
method which is not declared in API. Maybe this will work.
If you change workspace on clockify.me and than try to fill day with some projects, menu with projects will contain only projects from old workspace. ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.