From 1a87460465ffa1c57dbd8629e6fb036abd713e10 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:55:57 +0100 Subject: [PATCH] Add a method to call the twofaccounts/count api endpoint --- resources/js_vue3/services/twofaccountService.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/js_vue3/services/twofaccountService.js b/resources/js_vue3/services/twofaccountService.js index 5d291085..d727b1c8 100644 --- a/resources/js_vue3/services/twofaccountService.js +++ b/resources/js_vue3/services/twofaccountService.js @@ -62,5 +62,9 @@ export default { migrate(payload, config = {}) { return apiClient.post('/twofaccounts/migration', { payload: payload, withSecret: true }, { ...config }) }, + + count(config = {}) { + return apiClient.get('/twofaccounts/count', { ...config }) + }, } \ No newline at end of file