Skip to content

Commit

Permalink
Update throwServerError.ts
Browse files Browse the repository at this point in the history
`result` can be a string
  • Loading branch information
dleavitt authored Apr 26, 2023
1 parent 72dccb1 commit bd1e0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/link/utils/throwServerError.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type ServerError = Error & {
response: Response;
result: Record<string, any>;
result: Record<string, any> | string;
statusCode: number;
};

Expand Down

0 comments on commit bd1e0fd

Please sign in to comment.