Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Add ApiKey to header

Acho Arnold9d908152a144
diff --git a/web/store/index.ts b/web/store/index.ts
index 61440c5c..cde75977 100644
--- a/web/store/index.ts
+++ b/web/store/index.ts
@@ -508,6 +508,7 @@ export const actions = {
context.commit('setAuthUser', null),
context.commit('setUser', null),
])
+ setApiKey('')
return
}
setAuthHeader(await authUser.getIdToken())
@@ -523,6 +524,7 @@ export const actions = {
{ authUser }
) {
if (authUser == null) {
+ setApiKey('')
return
}
setAuthHeader(await authUser.getIdToken())