aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Controllers
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-17 17:10:40 +0800
committercrupest <crupest@outlook.com>2020-06-17 17:10:40 +0800
commit3dc9460798798e5ba155fae7b6afe84522c2c619 (patch)
treedd5e74d262b268f6ba7be5826a192bc42934cb35 /Timeline/Controllers
parentf737fed4f003fbeb7187629a7b730c64a87b72b9 (diff)
downloadtimeline-3dc9460798798e5ba155fae7b6afe84522c2c619.tar.gz
timeline-3dc9460798798e5ba155fae7b6afe84522c2c619.tar.bz2
timeline-3dc9460798798e5ba155fae7b6afe84522c2c619.zip
refactor(back): Refactor timeline service.
Diffstat (limited to 'Timeline/Controllers')
-rw-r--r--Timeline/Controllers/TimelineController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Controllers/TimelineController.cs b/Timeline/Controllers/TimelineController.cs
index 6c7cfa95..36e9fe6d 100644
--- a/Timeline/Controllers/TimelineController.cs
+++ b/Timeline/Controllers/TimelineController.cs
@@ -135,7 +135,7 @@ namespace Timeline.Controllers
{
return NotFound(ErrorResponse.TimelineController.PostNotExist());
}
- catch (BadPostTypeException)
+ catch (TimelinePostNoDataException)
{
return BadRequest(ErrorResponse.TimelineController.PostNoData());
}