Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gramovi4a committed May 27, 2024
1 parent 1670c58 commit 4e9cf07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/contacts/api/contactApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const addContact = (email: string): Promise<ContactPropsResponse> => {
};

export const getAllContactsByUserEmail = (userEmail: string): Promise<ContactsPropsResponse> => {
return axios.get(`${baseURL}/users/${userEmail}/contact`, axiosConfig)
return axios.get(`${baseURL}/ContactService/users/${userEmail}/contact`, axiosConfig)
.then(response => response.data)
.catch(error => {
throw error.response.data;
Expand Down

0 comments on commit 4e9cf07

Please sign in to comment.