Compare commits

..

No commits in common. "d67ba924dc8a061765f441f1223fe7338d00e858" and "e054c04c96c04bae3c55ebe3722c4c6d3d3d0b70" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -37,8 +37,6 @@ class LevelRepositoryService(LevelRepositoryABC):
int(self._get_value_from_result(sql_result[3])), # min xp
int(self._get_value_from_result(sql_result[4])), # permissions
self._servers.get_server_by_id(sql_result[5]), # server
sql_result[6], # created_at
sql_result[7], # modified_at
id=self._get_value_from_result(sql_result[0]), # id
)

View File

@ -77,7 +77,7 @@ class ServerQuery(DataQueryWithHistoryABC):
)
self.add_collection(
"level",
lambda server, *_: self._levels.get_levels_by_server_id(server.id).order_by_descending(lambda x: x.min_xp),
lambda server, *_: self._levels.get_levels_by_server_id(server.id),
LevelFilter,
)
self.set_field(