mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Rename stores method which fetch fresh api data
This commit is contained in:
@ -6,7 +6,7 @@ export default function starter({ to, next, stores }) {
|
||||
const { twofaccounts } = stores
|
||||
|
||||
if (twofaccounts.isEmpty) {
|
||||
twofaccounts.refresh().then(() => {
|
||||
twofaccounts.fetch().then(() => {
|
||||
if (twofaccounts.isEmpty) {
|
||||
next({ name: 'start' });
|
||||
}
|
||||
|
Reference in New Issue
Block a user