diff options
author | crupest <crupest@outlook.com> | 2021-04-30 17:53:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-30 17:53:40 +0800 |
commit | e536121d97610af09d6bf4a51a875b0f7d50f702 (patch) | |
tree | 4f6e2f0ddae0920cc1ef3213dc36953a95bb2fc8 /BackEnd/Timeline/Helpers/Cache | |
parent | 9f81ec1d4a54239ae9456923115f4a1e379d9e71 (diff) | |
download | timeline-e536121d97610af09d6bf4a51a875b0f7d50f702.tar.gz timeline-e536121d97610af09d6bf4a51a875b0f7d50f702.tar.bz2 timeline-e536121d97610af09d6bf4a51a875b0f7d50f702.zip |
refactor: ...
Diffstat (limited to 'BackEnd/Timeline/Helpers/Cache')
-rw-r--r-- | BackEnd/Timeline/Helpers/Cache/DataCacheHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Helpers/Cache/DataCacheHelper.cs b/BackEnd/Timeline/Helpers/Cache/DataCacheHelper.cs index b7d86b18..1d1ab64e 100644 --- a/BackEnd/Timeline/Helpers/Cache/DataCacheHelper.cs +++ b/BackEnd/Timeline/Helpers/Cache/DataCacheHelper.cs @@ -48,7 +48,7 @@ namespace Timeline.Helpers.Cache {
if (!EntityTagHeaderValue.TryParseList(ifNonMatchHeaderValue, out var eTagList))
{
- return controller.BadRequest(ErrorResponse.Common.Header.IfNonMatch_BadFormat());
+ return controller.BadRequest(new CommonResponse(ErrorCodes.Common.Header.IfNonMatch_BadFormat, "Header If-None-Match is of bad format."));
}
if (eTagList.FirstOrDefault(e => e.Equals(eTag)) != null)
|