Skip to content

Commit 423c47f

Browse files
sumitb1606sumitb1606
authored andcommitted
working code
1 parent 588b648 commit 423c47f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

assignment/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
2-
* Created by sumitbhanwala on 2/19/17.
3-
*/
2+
* Created by sumitbhanwala on 2/19/17.*/
43
module.exports = function (app) {
54
// further modules for the services of the each specific type
65
// for keeping the modularity of the code

assignment/services/widget.service.server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ module.exports = function (app , ListOfModel) {
158158
}
159159
var width = req.body.width;
160160
var userId = req.body.userId;
161+
var destination = myFile.destination;
161162
var websiteId = req.body.websiteId;
162163
var myFile = req.file;
163-
var destination = myFile.destination;
164164
WidgetModel
165165
.findWidgetById(widgetId)
166166
.then(
186 KB
Loading

0 commit comments

Comments
 (0)