Skip to content

Commit

Permalink
REFACTOR: replace route, variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kotesh-arya committed Oct 8, 2023
1 parent a1baadb commit c1f8612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/tasks/task-dependency.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Input box', () => {
},
body: JSON.stringify(levels),
});
} else if (url === `${API_BASE_URL}/members`) {
} else if (url === `${API_BASE_URL}/users`) {
interceptedRequest.respond({
status: 200,
contentType: 'application/json',
Expand Down
2 changes: 1 addition & 1 deletion online-members/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const TASKS_CLASS_LIST = ['task'];
const TASKS_CONTAINER_CLASS_LIST = ['tasks-container'];

// RDS Api Constants
const RDS_API_MEMBERS = API_BASE_URL + '/users';
const RDS_API_USERS = API_BASE_URL + '/users';
const RDS_API_TASKS_USERS = API_BASE_URL + '/tasks';
const RDS_CLOUDINARY_CLOUD_URL = `https://res.cloudinary.com/realdevsquad/image/upload`;

Expand Down

0 comments on commit c1f8612

Please sign in to comment.