From 542ea21bc22e2b60458f8cd4c118d33db956fa7e Mon Sep 17 00:00:00 2001 From: Tom Coombs Date: Thu, 15 Aug 2024 19:25:18 -0400 Subject: [PATCH] moved vatusa solo delete to api --- src/views/instructor/solocerts/Index.vue | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/views/instructor/solocerts/Index.vue b/src/views/instructor/solocerts/Index.vue index ff70ed8..54ea313 100644 --- a/src/views/instructor/solocerts/Index.vue +++ b/src/views/instructor/solocerts/Index.vue @@ -169,17 +169,7 @@ export default { const {data} = await zabApi.post('/training/solodelete/'+cid, { position: position }); - - if (position.slice(-3)==='APP' || position.slice(-3)==='CTR') - { - await vatusaApiAuth.delete('/solo?cid='+cid+'&position='+position); - /*, - { - cid: cid, - position: position - });*/ - } - + this.toastSuccess('Solo Certification deleted'); this.certs = [];