Compare commits
1 Commits
e11af3ad2a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 97ff4a5263 |
@@ -214,7 +214,6 @@ router.put(
|
|||||||
// @route DELETE api/profile/experience/:exp_id
|
// @route DELETE api/profile/experience/:exp_id
|
||||||
// @desc Delete experience from profile
|
// @desc Delete experience from profile
|
||||||
// @access Private
|
// @access Private
|
||||||
|
|
||||||
router.delete("/experience/:exp_id", auth, async (req, res) => {
|
router.delete("/experience/:exp_id", auth, async (req, res) => {
|
||||||
try {
|
try {
|
||||||
if (isUserId(req)) {
|
if (isUserId(req)) {
|
||||||
@@ -274,7 +273,6 @@ router.put(
|
|||||||
// @route DELETE api/profile/education/:edu_id
|
// @route DELETE api/profile/education/:edu_id
|
||||||
// @desc Delete education from profile
|
// @desc Delete education from profile
|
||||||
// @access Private
|
// @access Private
|
||||||
|
|
||||||
router.delete("/education/:edu_id", auth, async (req, res) => {
|
router.delete("/education/:edu_id", auth, async (req, res) => {
|
||||||
try {
|
try {
|
||||||
if (isUserId(req)) {
|
if (isUserId(req)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user