Skip to content

Commit

Permalink
fix format error
Browse files Browse the repository at this point in the history
  • Loading branch information
duong98 committed Jun 16, 2020
1 parent 1e0e353 commit 66f8386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions controllers/redcross/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const DonationSelectMiddleware = require("../../middlewares/DonationSelectMiddle

const router = express.Router();

router.get("/getpendingOrders", authMiddleware, controller.getpendingOrders);
router.get("/getpendingOrders", authMiddleware, controller.getPendingOrders);

router.put(
"/accepted_order/:id",
Expand All @@ -25,7 +25,7 @@ router.put(
authMiddleware,
controller.rejectOrders
);
router.get("/getpendingEvents", authMiddleware, controller.getpendingEvents);
router.get("/getpendingEvents", authMiddleware, controller.getPendingEvents);
router.get("/getDonors", authMiddleware, controller.getDonors);
router.get("/getDonorsDetail/:id", authMiddleware, controller.getDonorsDetail);
router.get("/getHospitals", authMiddleware, controller.getHospitals);
Expand Down
2 changes: 1 addition & 1 deletion init_db/db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ CREATE TABLE blood (
FOREIGN KEY (red_cross_id) REFERENCES red_cross(red_cross_id)
)
ENGINE = INNODB
DEFAULT CHARACTER SET = utf8;
DEFAULT CHARACTER SET = utf8;

0 comments on commit 66f8386

Please sign in to comment.