Skip to content

Commit

Permalink
fix: minor changes to API routes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalCodes committed Sep 27, 2023
1 parent 7fde715 commit 6b7acf8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ updates:
commit-message:
prefix: "chore(deps)"
schedule:
interval: "weekly"
interval: "monthly"
4 changes: 2 additions & 2 deletions src/assets/data/ApiEndpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const eventEndpoints = {
};

const authEndpoints = {
login: `${API}/user/login`,
signup: `${API}/user/register`,
signin: `${API}/auth/signin`,
signup: `${API}/auth/signup`,
googleLogin: `${API}/auth/google`,
googleLoginSuccess: `${API}/auth/login/success`,
logout: `${API}/auth/logout`,
Expand Down
2 changes: 1 addition & 1 deletion src/service/MilanApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
//* LOGIN USER
export const LoginUser = async (credentials) => {
try {
const User = await Axios.post(authEndpoints.login, credentials, {
const User = await Axios.post(authEndpoints.signin, credentials, {
withCredentials: true,
});
return User;
Expand Down

0 comments on commit 6b7acf8

Please sign in to comment.