Fixed return error
This commit is contained in:
		| @@ -145,6 +145,8 @@ class ClientRepositoryService(ClientRepositoryABC): | |||||||
|             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) | ||||||
|         client.sent_message_count += value |         client.sent_message_count += value | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user