correct some method names in error logs
authorJustin Wind <justin.wind+git@gmail.com>
Fri, 13 Aug 2021 18:55:43 +0000 (11:55 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Fri, 13 Aug 2021 18:55:43 +0000 (11:55 -0700)
src/manager.js

index 6fb187cde3dc0da5854727ffbc9297199a752899..d7a07f117b9eae96aebb808382625d237409732f 100644 (file)
@@ -342,7 +342,7 @@ class Manager {
       let fn, info, id;
       try {
         if (data.mode === Enum.Mode.Publish) {
-          fn = 'topicPublish';
+          fn = 'topicFetchRequested';
           info = await this.db.topicFetchRequested(dbCtx, data.topicId);
           id = data.topicId;
         } else {
@@ -366,7 +366,7 @@ class Manager {
             fn = 'topicFetchClaimAndProcessById';
             await this.communication.topicFetchClaimAndProcessById(dbCtx, id, requestId);
           } else {
-            fn = 'processVerification';
+            fn = 'verificationClaimAndProcessById';
             await this.communication.verificationClaimAndProcessById(dbCtx, id, requestId);
           }
         } catch (e) {