Skip to content

Commit d359f3a

Browse files
committed
stop sweth service.
1 parent df357ab commit d359f3a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class AppService implements OnModuleInit, OnModuleDestroy {
4747
this.renzoService.start(),
4848
this.magpieService.start(),
4949
this.rsethService.start(),
50-
this.swethService.start(),
50+
// this.swethService.start(),
5151
this.novaBalanceService.start(),
5252
]);
5353
}
@@ -58,7 +58,7 @@ export class AppService implements OnModuleInit, OnModuleDestroy {
5858
this.renzoService.stop(),
5959
this.magpieService.stop(),
6060
this.rsethService.stop(),
61-
this.swethService.stop(),
61+
// this.swethService.stop(),
6262
this.graphQueryService.stop(),
6363
this.novaBalanceService.stop(),
6464
]);

src/sweth/sweth.api.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ export class SwethApiService {
4343
"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",
4444
},
4545
});
46-
const response = await responseStr.json();
4746
this.logger.log(
48-
`success fetchSwethPoints bridgeAddress: ${bridgeAddress}, url:${this.url}${bridgeParams},response:${JSON.stringify(response)} `,
47+
`success fetchSwethPoints bridgeAddress: ${bridgeAddress}, url:${this.url}${bridgeParams},responseStr:${JSON.stringify(responseStr)} `,
4948
);
49+
const response = await responseStr.json();
5050
return response?.points ?? 0;
5151
}
5252
}

0 commit comments

Comments
 (0)