Skip to content

Commit

Permalink
feat: add logs for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
serezhaolshan committed Jul 9, 2024
1 parent af85baa commit 25aa0f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/watcher/watcher.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export class WatcherService {
async updateWatcher(pushToken: string, updateFields: { addresses?: string[], threshold?: number, txNotification?: string, priceNotification?: string }) {
const encodedPushToken = Buffer.from(pushToken).toString("base64");

console.log("Encoded push token", encodedPushToken);
const watcher = await this.watcherRepository.getWatcher(encodedPushToken);

if (!watcher) {
Expand Down

0 comments on commit 25aa0f0

Please sign in to comment.