echo-dimigo/echo-front

View on GitHub
src/api/comment/user.js

Summary

Maintainability
A
40 mins
Test Coverage

Showing 1 of 1 total issue

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

async getCommentNotice () {
const { data: { comments } } =
await axios.get('/echo/comment/notices')
return comments.map(Comment)
}
Severity: Minor
Found in src/api/comment/user.js and 2 other locations - About 40 mins to fix
src/api/tag/user.js on lines 5..8
src/api/tag/user.js on lines 19..23
Category
Status