aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers/UserAvatarController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-24 15:22:05 +0800
committercrupest <crupest@outlook.com>2022-04-24 15:22:05 +0800
commit3bc8ee1de171f0bd8e226542d75c842c5b2e7175 (patch)
tree408cea3b767dc5768ad3c08d6e547c876ce1175e /BackEnd/Timeline/Controllers/UserAvatarController.cs
parentd8adfa6b141c8e3a8f11592b831c574dee8602b9 (diff)
downloadtimeline-3bc8ee1de171f0bd8e226542d75c842c5b2e7175.tar.gz
timeline-3bc8ee1de171f0bd8e226542d75c842c5b2e7175.tar.bz2
timeline-3bc8ee1de171f0bd8e226542d75c842c5b2e7175.zip
...
Diffstat (limited to 'BackEnd/Timeline/Controllers/UserAvatarController.cs')
-rw-r--r--BackEnd/Timeline/Controllers/UserAvatarController.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Controllers/UserAvatarController.cs b/BackEnd/Timeline/Controllers/UserAvatarController.cs
index 072ab621..9e081757 100644
--- a/BackEnd/Timeline/Controllers/UserAvatarController.cs
+++ b/BackEnd/Timeline/Controllers/UserAvatarController.cs
@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
+using System;
using System.Threading.Tasks;
using Timeline.Filters;
using Timeline.Helpers.Cache;
@@ -17,6 +18,7 @@ namespace Timeline.Controllers
/// </summary>
[ApiController]
[ProducesErrorResponseType(typeof(CommonResponse))]
+ [Obsolete("Ues v2 api.")]
public class UserAvatarController : MyControllerBase
{
private readonly IUserService _userService;