diff options
author | crupest <crupest@outlook.com> | 2020-06-17 17:10:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-17 17:10:40 +0800 |
commit | 4a46206ea5f004ecb595de4bfd573b6263ac462b (patch) | |
tree | b4532afa1b9026d7245b7c172116a8cc99d33daf /Timeline/Controllers/TimelineController.cs | |
parent | c360ec8414a563338839b239c0f8062bfdcdc4e9 (diff) | |
download | timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.tar.gz timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.tar.bz2 timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.zip |
refactor(back): Refactor timeline service.
Diffstat (limited to 'Timeline/Controllers/TimelineController.cs')
-rw-r--r-- | Timeline/Controllers/TimelineController.cs | 2 |
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());
}
|