aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Helpers/DataCacheHelper.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-23 17:17:04 +0800
committercrupest <crupest@outlook.com>2020-08-23 17:17:04 +0800
commit5a821a3e81dfc14c15c70d90e9266d3a163479a9 (patch)
tree321cf420480047bead290a6fea4c2433ea69b941 /Timeline/Helpers/DataCacheHelper.cs
parent69a353e61b6c5a986ed01e5dc01ad0248211b481 (diff)
downloadtimeline-5a821a3e81dfc14c15c70d90e9266d3a163479a9.tar.gz
timeline-5a821a3e81dfc14c15c70d90e9266d3a163479a9.tar.bz2
timeline-5a821a3e81dfc14c15c70d90e9266d3a163479a9.zip
Add produces and consumes .
Diffstat (limited to 'Timeline/Helpers/DataCacheHelper.cs')
-rw-r--r--Timeline/Helpers/DataCacheHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Helpers/DataCacheHelper.cs b/Timeline/Helpers/DataCacheHelper.cs
index 574d90b4..1ad69708 100644
--- a/Timeline/Helpers/DataCacheHelper.cs
+++ b/Timeline/Helpers/DataCacheHelper.cs
@@ -107,7 +107,7 @@ namespace Timeline.Helpers
controller.Response.Headers.Add(ETagHeaderKey, eTagValue);
controller.Response.Headers.Add(CacheControlHeaderKey, GenerateCacheControlHeaderValue());
- return controller.StatusCode(StatusCodes.Status304NotModified);
+ return controller.StatusCode(StatusCodes.Status304NotModified, null);
}
}