mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 21:57:47 +02:00
Set up Always On OTPs on the main view
This commit is contained in:
@ -7,6 +7,10 @@ export default {
|
||||
return apiClient.get('/twofaccounts' + (withOtp ? '?withOtp=1' : ''))
|
||||
},
|
||||
|
||||
getByIds(ids, withOtp = false) {
|
||||
return apiClient.get('/twofaccounts?ids=' + ids + (withOtp ? '&withOtp=1' : ''))
|
||||
},
|
||||
|
||||
get(id, config = {}) {
|
||||
return apiClient.get('/twofaccounts/' + id, { ...config })
|
||||
},
|
||||
|
Reference in New Issue
Block a user