mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
api: improve sync hub auth
This commit is contained in:
committed by
Abdullah Atta
parent
44a9ff57e7
commit
b3dcdda697
@@ -58,7 +58,7 @@ namespace Notesnook.API.Controllers
|
||||
try
|
||||
{
|
||||
UserResponse response = await UserService.GetUserAsync(userId);
|
||||
if (!response.Success) return BadRequest(response);
|
||||
if (!response.Success) return BadRequest();
|
||||
return Ok(response);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user