Skip to content

Commit

Permalink
Update client/src/www/app/outline_server_repository/access_key_serial…
Browse files Browse the repository at this point in the history
…ization.ts

Co-authored-by: Vinicius Fortuna <[email protected]>
  • Loading branch information
daniellacosse and fortuna authored Apr 19, 2024
1 parent a0ff397 commit 12c0b9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function parseShadowsocksSessionConfigJson(responseBody: string): ShadowsocksSes
const responseJson = JSON.parse(responseBody);

if ('error' in responseJson) {
throw new errors.SessionConfigError(responseJson.error.message, { cause: responseJson.error.cause });
throw new errors.SessionConfigError(responseJson.error.message, { cause: responseJson.error.details });
}

const {method, password, server, server_port, prefix} = responseJson;
Expand Down

0 comments on commit 12c0b9c

Please sign in to comment.