Fix formatting issues in history_controller.py and manager/history.py, and update default values in request_data.py

This commit is contained in:
sHa
2024-03-22 08:31:13 +00:00
parent 7c695ccf24
commit a9f50ca4ca
3 changed files with 5 additions and 5 deletions

View File

@@ -36,8 +36,8 @@ class History:
if len(self.data) == 0:
return None
for item in self.data:
if "method" in item:
item["method"] = Methods(item["method"])
if "method" in item:
item["method"] = Methods(item["method"])
return self.data
def get(self, index: int) -> dict | None: