api: remove profile from user settings

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

No files matched your search

@@ -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();
}