mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
api: remove profile from user settings
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user