MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend / fetchSelfTasks

Function fetchSelfTasks

models/tasks.js:546–549  ·  view source on GitHub ↗
(username)

Source from the content-addressed store, hash-verified

544 * @returns {Promise<tasks>|Array}
545 */
546const fetchSelfTasks = async (username) => {
547 return await fetchUserTasks(username, []);
548 // Removed `startedOn` field since we are getting issues with some of the documents in the tasks collection as some of the documents dont have `startedOn` present.
549};
550
551/**
552 * Fetch all the completed tasks of a user

Callers

nothing calls this directly

Calls 1

fetchUserTasksFunction · 0.85

Tested by

no test coverage detected