Sfoglia il codice sorgente

Fix: remove deprecated `permission` field (#6912)

### What problem does this PR solve?

Fix: remove deprecated KB updating `permission` field. #6911 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.18.0
Yongteng Lei 6 mesi fa
parent
commit
9283e91aa0
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      api/apps/kb_app.py

+ 1
- 1
api/apps/kb_app.py Vedi File

@@ -73,7 +73,7 @@ def create():

@manager.route('/update', methods=['post']) # noqa: F821
@login_required
@validate_request("kb_id", "name", "description", "permission", "parser_id")
@validate_request("kb_id", "name", "description", "parser_id")
@not_allowed_parameters("id", "tenant_id", "created_by", "create_time", "update_time", "create_date", "update_date", "created_by")
def update():
req = request.json

Loading…
Annulla
Salva