Skip to content

Commit da5dc37

Browse files
committed
fix: return a dictionary from get_config method in ConfigService
1 parent d170ca8 commit da5dc37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/admin/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def share_local_file(self, item):
7070

7171
class ConfigService:
7272
def get_config(self):
73-
return settings.items()
73+
return dict(settings.items())
7474

7575
async def update_config(self, data: dict):
7676
admin_token = data.get("admin_token")

0 commit comments

Comments
 (0)