From c713abc05138620d0b32a8f4648f4924ae101502 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 7 Apr 2021 20:46:46 +0300 Subject: Fixed profile picture get method requiring authorization string in header --- src/Web/DevHive.Web/Controllers/ProfilePictureController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Web/DevHive.Web/Controllers/ProfilePictureController.cs b/src/Web/DevHive.Web/Controllers/ProfilePictureController.cs index 9a76e2c..8474df5 100644 --- a/src/Web/DevHive.Web/Controllers/ProfilePictureController.cs +++ b/src/Web/DevHive.Web/Controllers/ProfilePictureController.cs @@ -36,7 +36,7 @@ namespace DevHive.Web.Controllers /// The URL of the profile picture [HttpGet] [AllowAnonymous] - public async Task ReadProfilePicture(Guid profilePictureId, [FromHeader] string authorization) + public async Task ReadProfilePicture(Guid profilePictureId) { string profilePicURL = await this._profilePictureService.GetProfilePictureById(profilePictureId); return new OkObjectResult(new { ProfilePictureURL = profilePicURL} ); -- cgit v1.2.3