Skip to content

Commit f2372af

Browse files
committed
fix TypeScript check, PLAID_LINK_TOKEN -> RAM_ONLY_PLAID_LINK_TOKEN
1 parent 8cd984d commit f2372af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libs/actions/BankAccounts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type VBBAOnyxKey =
8989
| typeof ONYXKEYS.NVP_LAST_PAYMENT_METHOD
9090
| typeof ONYXKEYS.ONFIDO_TOKEN
9191
| typeof ONYXKEYS.ONFIDO_APPLICANT_ID
92-
| typeof ONYXKEYS.PLAID_LINK_TOKEN;
92+
| typeof ONYXKEYS.RAM_ONLY_PLAID_LINK_TOKEN;
9393

9494
function clearPlaid(): Promise<void | void[]> {
9595
Onyx.set(ONYXKEYS.RAM_ONLY_PLAID_LINK_TOKEN, '');
@@ -195,7 +195,7 @@ function getVBBADataForOnyx(currentStep?: BankAccountStep, shouldShowLoading = t
195195
},
196196
{
197197
onyxMethod: Onyx.METHOD.SET,
198-
key: ONYXKEYS.PLAID_LINK_TOKEN,
198+
key: ONYXKEYS.RAM_ONLY_PLAID_LINK_TOKEN,
199199
value: null,
200200
},
201201
];

0 commit comments

Comments
 (0)