Set up Always On OTPs on the main view

This commit is contained in:
Bubka
2023-10-24 13:27:50 +02:00
parent db295f97e9
commit 4dbbae24dc
5 changed files with 102 additions and 143 deletions

View File

@ -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 })
},