diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f3884e2..277b15e 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -68,7 +68,7 @@
-
+
diff --git a/src/nws-api/calls.ts b/src/nws-api/calls.ts
index 1f90108..aa9e62f 100644
--- a/src/nws-api/calls.ts
+++ b/src/nws-api/calls.ts
@@ -50,10 +50,10 @@ export async function getNamespaces(accountId: string, skey: SessionKey): Promis
return namespaces;
}
-export async function enableSSL(accountId: string, serviceId: string, skey: SessionKey) {
+export async function enableSSL(accountId: string, serviceId: string, session: SessionKey) {
await fetch('https://api-nws.nickorlow.com/'+accountId+'/service/'+serviceId+"/ssl", {
headers: {
- Authorization: skey.id
+ Authorization: btoa(session.accountId + ":" + session.id)
},
method: "POST"
});