mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
Updeted Session Model and Session Opener Service
renamed RefreshToken in model to RefreshTokenHash - now we have a hash of token, not a token
This commit is contained in:
@@ -41,7 +41,6 @@ public class ProfileController : ControllerBase
|
||||
_mapper = mapper;
|
||||
}
|
||||
|
||||
[RequestSizeLimit(40_000)]
|
||||
[HttpPost("avatar")] // api/profile/avatar
|
||||
public async Task<IActionResult> UploadAvatar([FromForm] AvatarUploadRequest request)
|
||||
{
|
||||
@@ -96,7 +95,7 @@ public class ProfileController : ControllerBase
|
||||
return ms.ToArray();
|
||||
}
|
||||
|
||||
[HttpGet("dowload/me")]
|
||||
[HttpGet("download/me")]
|
||||
public async Task<IActionResult> DownloadProfile()
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user