JustalK/PORTFOLIO

View on GitHub
src/services/api.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 2 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

get_project_by_slug: async (slug) => {
return axios_call(utils.get_server_address() + '/api/articles/one', {
params: { slug: slug, populate: 1 }
});
},
Severity: Minor
Found in src/services/api.js and 1 other location - About 35 mins to fix
src/services/api.js on lines 26..30

Similar blocks of code found in 2 locations. Consider refactoring.
Open

get_project_by_id: async (id) => {
return axios_call(utils.get_server_address() + '/api/articles/one', {
params: { id: id, populate: 1 }
});
},
Severity: Minor
Found in src/services/api.js and 1 other location - About 35 mins to fix
src/services/api.js on lines 31..35
Category
Status