fix(api): restful to restx migration issue (#24416)

This commit is contained in:
Matri Qi 2025-08-24 20:58:42 +08:00 • committed by GitHub
commit f31ddc4b1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 15 deletions

View file

@ -57,7 +57,7 @@ def run(script):
class AppIconUrlField(fields.Raw):
def output(self, key, obj):
def output(self, key, obj, **kwargs):
if obj is None:
return None
@ -72,7 +72,7 @@ class AppIconUrlField(fields.Raw):
class AvatarUrlField(fields.Raw):
def output(self, key, obj):
def output(self, key, obj, **kwargs):
if obj is None:
return None