Skip to content

Commit

Permalink
fix: remove await of list breed
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaam committed Jul 15, 2024
1 parent 4975621 commit 3b0e7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/breeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const BreedsService = {
message: response.statusText,
});
}
return await response.json();
return response.json();
} catch (error) {
console.error(`An error occurred: ${error}`);
return error;
Expand Down

0 comments on commit 3b0e7ce

Please sign in to comment.