mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-01 18:49:42 +02:00
api: remove profile from user settings
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user