Skip to content

Commit

Permalink
dynamicDecimals added for user cabn
Browse files Browse the repository at this point in the history
  • Loading branch information
Zikriya committed May 22, 2024
1 parent 4f6d350 commit 849e3f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/helpers/multiSwapHelpers/cabnsHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export const createUserCabn = async (req: any): Promise<any> => {
req.body.isAllowedOnMultiSwap = true;
req.body.isDefault = false;
req.body.priority = 1;
if (req.body.decimals) {
req.body.dynamicDecimals = req.body.decimals;
}
req.body.createdAt = new Date();
req.body.updatedAt = new Date();
return await db.CurrencyAddressesByNetwork.create(req.body);
Expand Down

0 comments on commit 849e3f9

Please sign in to comment.