Skip to content

Commit

Permalink
stop sweth service.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zklink committed Oct 31, 2024
1 parent df357ab commit d359f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class AppService implements OnModuleInit, OnModuleDestroy {
this.renzoService.start(),
this.magpieService.start(),
this.rsethService.start(),
this.swethService.start(),
// this.swethService.start(),
this.novaBalanceService.start(),
]);
}
Expand All @@ -58,7 +58,7 @@ export class AppService implements OnModuleInit, OnModuleDestroy {
this.renzoService.stop(),
this.magpieService.stop(),
this.rsethService.stop(),
this.swethService.stop(),
// this.swethService.stop(),
this.graphQueryService.stop(),
this.novaBalanceService.stop(),
]);
Expand Down
4 changes: 2 additions & 2 deletions src/sweth/sweth.api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export class SwethApiService {
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
},
});
const response = await responseStr.json();
this.logger.log(
`success fetchSwethPoints bridgeAddress: ${bridgeAddress}, url:${this.url}${bridgeParams},response:${JSON.stringify(response)} `,
`success fetchSwethPoints bridgeAddress: ${bridgeAddress}, url:${this.url}${bridgeParams},responseStr:${JSON.stringify(responseStr)} `,
);
const response = await responseStr.json();
return response?.points ?? 0;
}
}

0 comments on commit d359f3a

Please sign in to comment.