Skip to content

Commit

Permalink
Update actions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vincanger committed Dec 4, 2023
1 parent 1182ef0 commit 2f776e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ export const generateGptResponse: GenerateGptResponse<GptPayload, GptResponse> =
});
}
console.error(error);
throw new HttpError(500, error.message);
}

throw new HttpError(500, 'Something went wrong');
};

export const updateUserById: UpdateUserById<{ id: number; data: Partial<User> }, User> = async (
Expand Down

0 comments on commit 2f776e4

Please sign in to comment.