Skip to content

Commit

Permalink
Auth fix for foreign keys
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Nov 25, 2024
1 parent a55d0b8 commit 7c613b3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class ExternalLightningServer(
fetchImplementation = auth?.let { fetcher(httpPath, it) } ?: authlessFetcher(httpPath),
wsImplementation = {
multiplexSocket(
url = schema.baseWsUrl + "?path=multiplex" + (auth?.sessionToken?.let { "?jwt=$it" } ?: ""),
url = schema.baseWsUrl + "/multiplex" + (auth?.sessionToken?.let { "?jwt=$it" } ?: ""),
path = inter.path,
params = emptyMap(),
json = json,
Expand All @@ -163,7 +163,7 @@ class ExternalLightningServer(
fetchImplementation = auth?.let { fetcher(httpPath, it) } ?: authlessFetcher(httpPath),
wsImplementation = {
multiplexSocket(
url = schema.baseWsUrl + "?path=multiplex" + (auth?.sessionToken?.let { "?jwt=$it" } ?: ""),
url = schema.baseWsUrl + "/multiplex" + (auth?.sessionToken?.let { "?jwt=$it" } ?: ""),
path = inter.path,
params = emptyMap(),
json = json,
Expand All @@ -180,7 +180,7 @@ class ExternalLightningServer(
fetchImplementation = auth?.let { fetcher(httpPath, it) } ?: authlessFetcher(httpPath),
wsImplementation = {
multiplexSocket(
url = schema.baseWsUrl + "?path=multiplex" + (auth?.sessionToken?.let { "?jwt=$it" } ?: ""),
url = schema.baseWsUrl + "/multiplex" + (auth?.sessionToken?.let { "?jwt=$it" } ?: ""),
path = inter.path,
params = emptyMap(),
json = json,
Expand Down

0 comments on commit 7c613b3

Please sign in to comment.