Skip to content

Commit

Permalink
fix api response
Browse files Browse the repository at this point in the history
  • Loading branch information
fatemeh-ra committed Dec 10, 2023
1 parent 3710c83 commit 32623f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/watcher/src/api/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import WinstonLogger from '@rosen-bridge/winston-logger';
const logger = WinstonLogger.getInstance().getLogger(import.meta.url);

export type ApiResponse = {
response: string;
response: string | string[];
status: number;
};

Expand Down Expand Up @@ -402,7 +402,7 @@ export class Transaction {
? Transaction.watcherWID
: '';
return {
response: `[${unlockTxIds.join(', ')}]`,
response: unlockTxIds,
status: 200,
};
} catch (e) {
Expand Down

0 comments on commit 32623f9

Please sign in to comment.