ismx-nexo-node-app 0.3.42 → 0.3.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,9 +95,7 @@ class ServiceRestFormalTemplate {
|
|
|
95
95
|
}
|
|
96
96
|
serveFull(request) {
|
|
97
97
|
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
-
|
|
99
|
-
let result = yield this.database.one(this.tableName, id);
|
|
100
|
-
return Service_1.HttpResponse.ok(result);
|
|
98
|
+
return this.serveGet(request);
|
|
101
99
|
});
|
|
102
100
|
}
|
|
103
101
|
serveFullList(request) {
|
package/package.json
CHANGED
|
@@ -109,9 +109,7 @@ export default class ServiceRestFormalTemplate<Model=any>
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
protected async serveFull(request: HttpRequest): Promise<HttpResponse<Model>> {
|
|
112
|
-
|
|
113
|
-
let result = await this.database.one<Model>(this.tableName, id);
|
|
114
|
-
return HttpResponse.ok(result);
|
|
112
|
+
return this.serveGet(request);
|
|
115
113
|
}
|
|
116
114
|
|
|
117
115
|
protected async serveFullList(request: HttpRequest): Promise<HttpResponse<Model[]>>
|