aboutsummaryrefslogtreecommitdiff
path: root/src/Web/DevHive.Web/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'src/Web/DevHive.Web/Controllers')
-rw-r--r--src/Web/DevHive.Web/Controllers/ProfilePictureController.cs2
1 files changed, 1 insertions, 1 deletions
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
/// <returns>The URL of the profile picture</returns>
[HttpGet]
[AllowAnonymous]
- public async Task<IActionResult> ReadProfilePicture(Guid profilePictureId, [FromHeader] string authorization)
+ public async Task<IActionResult> ReadProfilePicture(Guid profilePictureId)
{
string profilePicURL = await this._profilePictureService.GetProfilePictureById(profilePictureId);
return new OkObjectResult(new { ProfilePictureURL = profilePicURL} );