Browse Source

minor fix

Enzo 1 year ago
parent
commit
6a7ea94328
3 changed files with 9 additions and 9 deletions
  1. 4 4
      services/acknowledgement.service.ts
  2. 1 1
      test/test.ts
  3. 4 4
      test/test2.ts

+ 4 - 4
services/acknowledgement.service.ts

@@ -13,13 +13,13 @@ export class AcknowledgementService implements Acknowledgemeent {
     private settings: LogSetting = {
         storage: '',
         setting: {
-            appId: '',
+            appId: undefined,
             appName: '',
             logLocName: '',
-            logLocId: '',
-            appLogLocId: '',
+            logLocId: undefined,
+            appLogLocId: undefined,
             appLocName: '',
-            appLogId: ''
+            appLogId: undefined
         }
     }
 

+ 1 - 1
test/test.ts

@@ -30,7 +30,7 @@ let dataSet: LogSetting & { incomingObservable: Observable<BaseMessage> } = {
     incomingObservable: payload
 }
 
-// incoming.init(dataSet)
+incoming.init(dataSet)
 
 acknowledge.init(storage).then(() => {
     acknowledge.subscribe(dataSet.incomingObservable)

+ 4 - 4
test/test2.ts

@@ -37,7 +37,7 @@ let dataSet: LogSetting & { incomingObservable: Observable<BaseMessage> } = {
     incomingObservable: payload
 }
 
-incoming.init(dataSet)
-// acknowledge.init(storage).then(() => {
-//     acknowledge.subscribe(dataSet.incomingObservable)
-// })
+// incoming.init(dataSet)
+acknowledge.init(storage).then(() => {
+    acknowledge.subscribe(dataSet.incomingObservable)
+})