Skip to content

Commit

Permalink
Update access_key_serialization.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse authored Mar 7, 2024
1 parent 43e2d32 commit 9b2f33a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9b2f33a

Please sign in to comment.