| Value | Color |
|---|---|
| \e[0;30m | Black |
| \e[0;31m | Red |
| \e[0;32m | Green |
| \e[0;33m | Yellow |
| \e[0;34m | Blue |
| \e[0;35m | Purple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async intiate(userId: Types.ObjectId, payload: InitiateCrossBorderTrxDTO) { | |
| const session = await this.connection.startSession(); | |
| try { | |
| await session.withTransaction( | |
| async (session: ClientSession) => { | |
| const isVerified = await this.pinService.verifyUser({ | |
| userId, | |
| pin: payload.pin, |