Skip to content

Commit 490685b

Browse files
committed
Fixed error in label organization.
1 parent 4bd0696 commit 490685b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/charts/request-type-chart.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ const RequestTypesChart = () => {
88

99
const createRequestChart = () => {
1010
const requestObj = {
11-
POST: 0,
1211
DELETE: 0,
1312
GET: 0,
1413
PATCH: 0,
14+
POST: 0,
1515
PUSH: 0,
1616
PUT: 0,
1717
};
@@ -24,6 +24,7 @@ const RequestTypesChart = () => {
2424
else if (element.reqtype in requestObj) requestObj[element.reqtype] += 1;
2525
}
2626

27+
console.log(requestObj)
2728
const chartData = {
2829
datasets: [
2930
{

0 commit comments

Comments
 (0)