Added policy messages for WS. Fixed DB changes via stores. Updated chat voices messages via WS to use stores.
This commit is contained in:
@@ -15,12 +15,12 @@ namespace HermesSocketServer.Requests
|
||||
|
||||
public static RequestResult Successful(object? result, bool notifyClientsOnAccount = true)
|
||||
{
|
||||
return RequestResult.Successful(result, notifyClientsOnAccount);
|
||||
return new RequestResult(true, result, notifyClientsOnAccount);
|
||||
}
|
||||
|
||||
public static RequestResult Failed(string error, bool notifyClientsOnAccount = true)
|
||||
{
|
||||
return RequestResult.Successful(error, notifyClientsOnAccount);
|
||||
return new RequestResult(false, error, notifyClientsOnAccount);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user