Skip to content

Commit cbfcea8

Browse files
committed
refactor(deposit): keep order crypto if it was safe
1 parent 3a45812 commit cbfcea8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/store/migrations/096.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ const migration = async (state: unknown): Promise<unknown> => {
5252
if (isObject(order) && fixCondition(order)) {
5353
const cryptocurrency = isObject(order.cryptocurrency)
5454
? order.cryptocurrency?.symbol
55+
: typeof order.cryptocurrency === 'string'
56+
? order.cryptocurrency
5557
: undefined;
5658

5759
const network = isObject(order.cryptocurrency)

0 commit comments

Comments
 (0)