mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-02 19:10:14 +02:00
api: improve sync hub auth
This commit is contained in:
1 parent
44a9ff57e7
commit
b3dcdda697
4 files changed
+13
-18
No files matched your search
@@ -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