diff options
author | crupest <crupest@outlook.com> | 2021-02-12 17:45:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-12 17:45:09 +0800 |
commit | deb706418d0a312ca7bc468b973af5b25edd4b0d (patch) | |
tree | 16b312ae3052f9d0315829411ce0f1f1ddaa2656 /BackEnd/Timeline/Controllers | |
parent | 6a1298a89f29c61718bae6a57855219fad10af47 (diff) | |
download | timeline-deb706418d0a312ca7bc468b973af5b25edd4b0d.tar.gz timeline-deb706418d0a312ca7bc468b973af5b25edd4b0d.tar.bz2 timeline-deb706418d0a312ca7bc468b973af5b25edd4b0d.zip |
test: Add create post integrated tests.
Diffstat (limited to 'BackEnd/Timeline/Controllers')
-rw-r--r-- | BackEnd/Timeline/Controllers/UserAvatarController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Controllers/UserAvatarController.cs b/BackEnd/Timeline/Controllers/UserAvatarController.cs index 180d1f9b..fa13f0f6 100644 --- a/BackEnd/Timeline/Controllers/UserAvatarController.cs +++ b/BackEnd/Timeline/Controllers/UserAvatarController.cs @@ -107,7 +107,7 @@ namespace Timeline.Controllers _logger.LogInformation(Log.Format(LogPutSuccess,
("Username", username), ("Mime Type", Request.ContentType)));
- Response.Headers.Append("ETag", new EntityTagHeaderValue($"\"{digest.ETag}\"").ToString());
+ Response.Headers.Append("ETag", $"\"{digest.ETag}\"");
return Ok();
}
|