mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-11 06:33:53 +02:00
Fix Always On OTPs & Dots display and looping
This commit is contained in:
@ -3,12 +3,12 @@ import { httpClientFactory } from '@/services/httpClientFactory'
|
||||
const apiClient = httpClientFactory('api')
|
||||
|
||||
export default {
|
||||
getAll(withOtp = false) {
|
||||
return apiClient.get('/twofaccounts' + (withOtp ? '?withOtp=1' : ''))
|
||||
getAll(withOtp = false, config = {}) {
|
||||
return apiClient.get('/twofaccounts' + (withOtp ? '?withOtp=1' : ''), { ...config })
|
||||
},
|
||||
|
||||
getByIds(ids, withOtp = false) {
|
||||
return apiClient.get('/twofaccounts?ids=' + ids + (withOtp ? '&withOtp=1' : ''))
|
||||
getByIds(ids, withOtp = false, config = {}) {
|
||||
return apiClient.get('/twofaccounts?ids=' + ids + (withOtp ? '&withOtp=1' : ''), { ...config })
|
||||
},
|
||||
|
||||
get(id, config = {}) {
|
||||
|
Reference in New Issue
Block a user