@akanjs/service 0.0.145 → 0.0.147
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.
|
@@ -172,7 +172,7 @@ const LogService = (name) => {
|
|
|
172
172
|
const DbService = (database, sigRef) => {
|
|
173
173
|
const [modelName, className] = [database.refName, (0, import_common.capitalize)(database.refName)];
|
|
174
174
|
class DbService2 {
|
|
175
|
-
logger = new import_common.Logger(`${modelName}Service`);
|
|
175
|
+
logger = new import_common.Logger(`${(0, import_common.capitalize)(modelName)}Service`);
|
|
176
176
|
__databaseModel;
|
|
177
177
|
async __list(query, queryOption) {
|
|
178
178
|
return await this.__databaseModel.__list(query, queryOption);
|
|
@@ -141,7 +141,7 @@ const LogService = (name) => {
|
|
|
141
141
|
const DbService = (database, sigRef) => {
|
|
142
142
|
const [modelName, className] = [database.refName, capitalize(database.refName)];
|
|
143
143
|
class DbService2 {
|
|
144
|
-
logger = new Logger(`${modelName}Service`);
|
|
144
|
+
logger = new Logger(`${capitalize(modelName)}Service`);
|
|
145
145
|
__databaseModel;
|
|
146
146
|
async __list(query, queryOption) {
|
|
147
147
|
return await this.__databaseModel.__list(query, queryOption);
|