Skip to content

Commit

Permalink
Merge pull request #672 from Worktez/dev-angular
Browse files Browse the repository at this point in the history
in internal release
  • Loading branch information
simran142002 authored Aug 20, 2022
2 parents 7791b14 + 2398788 commit d5ebb41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions functions/model/milestone/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ exports.getAllMilestonesData = function(orgDomain, teamId="") {
* @param {any} taskId
* @return
*/
exports.addTask = function(milestoneId, taskId, orgDomain){
exports.addTask = function(milestoneId, taskId, orgDomain) {
console.log(milestoneId, taskId, orgDomain);
const promise =db.collection("Organizations").doc(orgDomain).collection("Tasks").doc(taskId).update({
MilestoneId: milestoneId,
});
return Promise.resolve(promise);
}
};
7 changes: 4 additions & 3 deletions functions/model/milestone/tark/addTask.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

/* eslint-disable linebreak-style */
/* eslint-disable valid-jsdoc */

/* eslint-disable linebreak-style */
/* eslint-disable no-unused-vars */
/* eslint-disable object-curly-spacing */
/* eslint-disable no-undef */
Expand Down Expand Up @@ -32,7 +33,7 @@ const { addTask } = require("../lib");
* @param {any} response
* @return {any}
*/
exports.addTaskToMilestone = function(request,response){
exports.addTaskToMilestone = function(request, response) {
console.log( request.body.data);
const uid = request.body.data.Uid;
const milestoneId = request.body.data.MilestoneId;
Expand Down

0 comments on commit d5ebb41

Please sign in to comment.