Skip to content

Commit

Permalink
refactor(api-error): convert anonymous function into conventional fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
mateusfg7 committed Dec 18, 2023
1 parent 3d68ee1 commit c2c641a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/errors/api-error.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const ApiError = function ({
export function ApiError({
message,
url,
status
Expand Down

0 comments on commit c2c641a

Please sign in to comment.