Commit 20543ff0c8b08bf87c46a4bf087a75c9d468cfa8

Authored by Utkarsh Singh
1 parent 220589b4

Committed updated files

400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js
@@ -85,15 +85,7 @@ var UpdateUserService = (function () { @@ -85,15 +85,7 @@ var UpdateUserService = (function () {
85 var body = response.json(); 85 var body = response.json();
86 console.log(body); 86 console.log(body);
87 }) 87 })
88 - .catch(this.logError);  
89 - };  
90 - UpdateUserService.prototype.extractData2 = function (res) {  
91 - var body = res.json();  
92 - console.log('ServiceResult: ' + body);  
93 - return body || {};  
94 - };  
95 - UpdateUserService.prototype.logError = function (error) {  
96 - console.log('ServiceError: ' + err); 88 + .catch(this.handleError);
97 }; 89 };
98 UpdateUserService = __decorate([ 90 UpdateUserService = __decorate([
99 core_1.Injectable(), 91 core_1.Injectable(),
400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.js.map
1 -{"version":3,"file":"update-user.service.js","sourceRoot":"","sources":["update-user.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAA2B,eAAe,CAAC,CAAA;AAC3C,qBAAyE,eAAe,CAAC,CAAA;AACzF,uBAAuB,iBAAiB,CAAC,CAAA;AAEzC,2BAA2B,iBAAiB,CAAC,CAAA;AAC7C,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,yBAAyB,CAAC,CAAA;AAGjC,0DAA0D;AAG1D;IAaI,2BAAoB,IAAU,EAAU,MAAc;QAClD,iCAAiC;QACjC,qDAAqD;QAFrC,SAAI,GAAJ,IAAI,CAAM;QAAU,WAAM,GAAN,MAAM,CAAQ;QAIlD,yBAAyB;QACzB,8CAA8C;QAC9C,+BAA+B;QAC/B,OAAO;QACP,GAAG;QACH,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IAEt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AAC;QAC9C,IAAI,KAAK,GAAG,eAAe,CAAC,QAAQ,EAAE,CAAA;QAEtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,uDAAuD,EAAE,IAAI,EAAE,OAAO,CAAC;aACxF,GAAG,CAAC,UAAC,QAAkB;YACpB,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACtB,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;YAC3B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC,CAAC;aACD,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC9B,CAAC;IAEO,wCAAY,GAApB,UAAqB,GAAa;QAC9B,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACtB,OAAO,CAAC,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;QACtC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;IACtB,CAAC;IAED,oCAAQ,GAAR,UAAS,KAAqB;QAC1B,OAAO,CAAC,GAAG,CAAC,gBAAgB,GAAG,GAAG,CAAC,CAAC;IACxC,CAAC;IAtGL;QAAC,iBAAU,EAAE;;yBAAA;IAuGb,wBAAC;AAAD,CAAC,AAtGD,IAsGC;AAtGY,yBAAiB,oBAsG7B,CAAA"}  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +{"version":3,"file":"update-user.service.js","sourceRoot":"","sources":["update-user.service.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAA2B,eAAe,CAAC,CAAA;AAC3C,qBAAyE,eAAe,CAAC,CAAA;AACzF,uBAAuB,iBAAiB,CAAC,CAAA;AAEzC,2BAA2B,iBAAiB,CAAC,CAAA;AAC7C,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,yBAAyB,CAAC,CAAA;AAGjC,0DAA0D;AAG1D;IAaI,2BAAoB,IAAU,EAAU,MAAc;QAClD,iCAAiC;QACjC,q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,CAAC;QAElB,IAAI,eAAe,GAAG,IAAI,sBAAe,EAAE,CAAC;QAC5C,eAAe,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QACnD,eAAe,CAAC,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;QAClD,eAAe,CAAC,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;QAChD,eAAe,CAAC,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;QAC9C,IAAI,KAAK,GAAG,eAAe,CAAC,QAAQ,EAAE,CAAA;QAEtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,uDAAuD,EAAE,IAAI,EAAE,OAAO,CAAC;aACxF,GAAG,CAAC,UAAC,QAAkB;YACpB,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACtB,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;YAC3B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC,CAAC;aACD,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACjC,CAAC;IA5FL;QAAC,iBAAU,EAAE;;yBAAA;IA8Fb,wBAAC;AAAD,CAAC,AA7FD,IA6FC;AA7FY,yBAAiB,oBA6F7B,CAAA"}
3 \ No newline at end of file 3 \ No newline at end of file
400-SOURCECODE/AIAHTML5.Admin/app/services/update-user.service.ts
@@ -100,16 +100,7 @@ export class UpdateUserService { @@ -100,16 +100,7 @@ export class UpdateUserService {
100 var body = response.json(); 100 var body = response.json();
101 console.log(body); 101 console.log(body);
102 }) 102 })
103 - .catch(this.logError);  
104 - }  
105 -  
106 - private extractData2(res: Response) {  
107 - let body = res.json();  
108 - console.log('ServiceResult: ' + body);  
109 - return body || {}; 103 + .catch(this.handleError);
110 } 104 }
111 105
112 - logError(error: Response | any) {  
113 - console.log('ServiceError: ' + err);  
114 - }  
115 } 106 }
116 \ No newline at end of file 107 \ No newline at end of file