diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-04-07 20:46:46 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-04-07 20:46:46 +0300 |
| commit | c713abc05138620d0b32a8f4648f4924ae101502 (patch) | |
| tree | 33d594f41c62c8353f570e5691293ba8e3fc1b35 /src/Web/DevHive.Web | |
| parent | bc3d341d0390a7367a9f7b901dcc3cb93ac1247c (diff) | |
| download | DevHive-c713abc05138620d0b32a8f4648f4924ae101502.tar DevHive-c713abc05138620d0b32a8f4648f4924ae101502.tar.gz DevHive-c713abc05138620d0b32a8f4648f4924ae101502.zip | |
Fixed profile picture get method requiring authorization string in header
Diffstat (limited to 'src/Web/DevHive.Web')
| -rw-r--r-- | src/Web/DevHive.Web/Controllers/ProfilePictureController.cs | 2 |
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} ); |
