chuksjoe/AutoMart_UI

View on GitHub
UI/js/my-posted-ads.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

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

const options = {
method: 'PATCH',
body: JSON.stringify({ price: new_price }),
headers: { 'Content-Type': 'application/json', authorization: `Bearer ${token}` },
};
Severity: Major
Found in UI/js/my-posted-ads.js and 1 other location - About 1 hr to fix
UI/js/purchase-history.js on lines 88..92
Category
Status