From a9a015e5badbdf20627d7443d6cfa193fff4b491 Mon Sep 17 00:00:00 2001 From: Nicholas Orlowsky Date: Sun, 9 Jul 2023 19:19:47 -0400 Subject: [PATCH] add enable ssl --- .idea/workspace.xml | 4 +--- src/nws-api/calls.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f420672..f3884e2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,6 @@ - - diff --git a/src/nws-api/calls.ts b/src/nws-api/calls.ts index a895602..1f90108 100644 --- a/src/nws-api/calls.ts +++ b/src/nws-api/calls.ts @@ -51,7 +51,7 @@ export async function getNamespaces(accountId: string, skey: SessionKey): Promis } export async function enableSSL(accountId: string, serviceId: string, skey: SessionKey) { - await fetch('https://api-nws.nickorlow.com/'+accountId+'/services/'+serviceId+"/ssl", { + await fetch('https://api-nws.nickorlow.com/'+accountId+'/service/'+serviceId+"/ssl", { headers: { Authorization: skey.id },