mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-10 00:09:02 +08:00
fix: update recommend app params error (#197)
This commit is contained in:
parent
93ae18ea12
commit
b6cca59517
@ -89,12 +89,12 @@ class InsertExploreAppListApi(Resource):
|
||||
return {'result': 'success'}, 201
|
||||
else:
|
||||
recommended_app.description = {
|
||||
'en': args['desc_en'],
|
||||
'zh': args['desc_zh']
|
||||
'en': desc,
|
||||
'zh': desc if not args['desc_zh'] else args['desc_zh']
|
||||
}
|
||||
|
||||
recommended_app.copyright = args['copyright']
|
||||
recommended_app.privacy_policy = args['privacy_policy']
|
||||
recommended_app.copyright = copy_right
|
||||
recommended_app.privacy_policy = privacy_policy
|
||||
recommended_app.category = args['category']
|
||||
recommended_app.position = args['position']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user