Skip to content

Commit

Permalink
Fix issue when trying to register adoption interest
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinesalib committed May 25, 2020
1 parent 1759d95 commit 145333d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/containers/AdoptionList/AdoptionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class AdoptionList extends React.Component {

axios
.post(`../v1/pets_for_adoption/register_interest`, {
params: {register_interest: {user_email: userEmail, pet_id: pet.id}}
register_interest: {user_email: userEmail, pet_id: pet.id}
})
.then(() => {
this.props.fetchPetsForAdoption(userEmail);
Expand Down

0 comments on commit 145333d

Please sign in to comment.