api: remove profile from user settings

This commit is contained in:
Abdullah Atta
2024-05-16 13:13:06 +05:00
parent 98b5143bfe
commit 1c901aad84
4 changed files with 2 additions and 13 deletions

View File

@@ -78,9 +78,6 @@ namespace Notesnook.API.Controllers
if (user.AttachmentsKey != null)
await UserService.SetUserAttachmentsKeyAsync(response.UserId, user.AttachmentsKey);
else if (user.Profile != null)
await UserService.SetUserProfileAsync(response.UserId, user.Profile);
else return BadRequest();
return Ok();
}