Fixed return error
This commit is contained in:
parent
e3ac78f97b
commit
a10724a495
@ -144,6 +144,8 @@ class ClientRepositoryService(ClientRepositoryABC):
|
|||||||
if client is None:
|
if client is None:
|
||||||
self._logger.warn(__name__, f'Cannot find client by ids {id}@{server.server_id}')
|
self._logger.warn(__name__, f'Cannot find client by ids {id}@{server.server_id}')
|
||||||
raise Exception('Value not found')
|
raise Exception('Value not found')
|
||||||
|
|
||||||
|
return client
|
||||||
|
|
||||||
def apppend_sent_message_count(self, id: int, server_id: int, value: int):
|
def apppend_sent_message_count(self, id: int, server_id: int, value: int):
|
||||||
client = self._get_client_and_server(id, server_id)
|
client = self._get_client_and_server(id, server_id)
|
||||||
|
Reference in New Issue
Block a user