Disable CapacitorHttp and add plugin to replace axios calls #781

This commit is contained in:
advplyr
2023-09-15 17:35:44 -05:00
parent 27bbe40874
commit 57d1fbfa83
21 changed files with 142 additions and 62 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export default {
async logout() {
await this.$hapticsImpact()
if (this.user) {
await this.$axios.$post('/logout').catch((error) => {
await this.$nativeHttp.post('/logout').catch((error) => {
console.error(error)
})
}