Fix/vdb index issue (#1776)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong
2023-12-18 21:33:54 +08:00
committed by GitHub
parent 4f0e272549
commit 2fd56cb01c
7 changed files with 18 additions and 10 deletions

View File

@@ -188,7 +188,6 @@ class AnnotationUpdateDeleteApi(Resource):
@setup_required
@login_required
@account_initialization_required
@cloud_edition_billing_resource_check('annotation')
def delete(self, app_id, annotation_id):
# The role of the current user in the ta table must be admin or owner
if current_user.current_tenant.current_role not in ['admin', 'owner']: