From 4a46206ea5f004ecb595de4bfd573b6263ac462b Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 17 Jun 2020 17:10:40 +0800 Subject: refactor(back): Refactor timeline service. --- Timeline/Controllers/TimelineController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Timeline/Controllers/TimelineController.cs') 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()); } -- cgit v1.2.3