From 9b2f33abaf39ef4bca273e52c815757943d1539d Mon Sep 17 00:00:00 2001 From: Daniel LaCosse <3759828+daniellacosse@users.noreply.github.com> Date: Wed, 6 Mar 2024 23:25:25 -0500 Subject: [PATCH] Update access_key_serialization.ts --- .../app/outline_server_repository/access_key_serialization.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/www/app/outline_server_repository/access_key_serialization.ts b/src/www/app/outline_server_repository/access_key_serialization.ts index 59f7829831..02aee6b481 100644 --- a/src/www/app/outline_server_repository/access_key_serialization.ts +++ b/src/www/app/outline_server_repository/access_key_serialization.ts @@ -36,9 +36,7 @@ export function staticKeyToShadowsocksSessionConfig(staticKey: string): Shadowso } } -function parseShadowsocksSessionConfigJson( - maybeJsonText: string -): ShadowsocksSessionConfig | null { +function parseShadowsocksSessionConfigJson(maybeJsonText: string): ShadowsocksSessionConfig | null { const {method, password, server, server_port, prefix, error} = JSON.parse(maybeJsonText); // These are the mandatory keys.