Skip to content

Commit

Permalink
Fixed Friends Sharing
Browse files Browse the repository at this point in the history
Major Version Bump: 0.10.1
  • Loading branch information
aneesh-neelam committed Dec 7, 2014
1 parent e4424d9 commit 9d60909
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/chennai/friends/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ exports.getTimetableDoB = function (RegNo, DoB, callback) {
courses: doc.courses,
timetable: doc.timetable
},
status: status.codes.Success
status: status.codes.success
};
callback(false, data)
}
Expand Down
4 changes: 3 additions & 1 deletion api/vellore/friends/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ exports.getTimetableToken = function (token, callback) {
callback(true, {status: status.codes.mongoDown});
}
else if (doc) {
console.log(doc);
if (doc.timetable && doc.courses && doc.reg_no) {
var forEachCourse = function (elt, i, arr) {
delete elt['attendance'];
Expand Down Expand Up @@ -100,6 +101,7 @@ exports.getTimetableDoB = function (RegNo, DoB, callback) {
callback(true, {status: status.codes.mongoDown});
}
else if (doc) {
console.log(doc);
if (doc.timetable && doc.courses && doc.reg_no) {
var forEachCourse = function (elt, i, arr) {
delete elt['attendance'];
Expand All @@ -112,7 +114,7 @@ exports.getTimetableDoB = function (RegNo, DoB, callback) {
courses: doc.courses,
timetable: doc.timetable
},
status: status.codes.Success
status: status.codes.success
};
callback(false, data)
}
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "VITacademics",
"version": "0.10.0",
"version": "0.10.1",
"description": "VITacademics Backend and Web App",
"bugs": {
"url": "https://github.com/aneesh-neelam/VITacademics/issues",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "VITacademics",
"version": "0.10.0",
"version": "0.10.1",
"description": "VITacademics Backend and Web App",
"homepage": "http://vitacademics-dev.herokuapp.com/",
"bugs": {
Expand Down

0 comments on commit 9d60909

Please sign in to comment.