From 07c1d43fce1932317e9d8a9232490ccce1f253f0 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 8 Apr 2022 17:02:44 +0800 Subject: ... --- BackEnd/Timeline/Controllers/TimelinePostController.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BackEnd/Timeline/Controllers/TimelinePostController.cs') diff --git a/BackEnd/Timeline/Controllers/TimelinePostController.cs b/BackEnd/Timeline/Controllers/TimelinePostController.cs index c49c95fc..fee80adb 100644 --- a/BackEnd/Timeline/Controllers/TimelinePostController.cs +++ b/BackEnd/Timeline/Controllers/TimelinePostController.cs @@ -8,6 +8,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Timeline.Entities; +using Timeline.Filters; using Timeline.Helpers.Cache; using Timeline.Models; using Timeline.Models.Http; @@ -24,6 +25,7 @@ namespace Timeline.Controllers /// [ApiController] [Route("timelines/{timeline}/posts")] + [CatchMultipleTimelineException] [ProducesErrorResponseType(typeof(CommonResponse))] public class TimelinePostController : MyControllerBase { -- cgit v1.2.3