소스 검색

fix: remove required field

Yeuoly 11 달 전
부모
커밋
14feb2852a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      internal/core/dify_invocation/types.go

+ 1 - 1
internal/core/dify_invocation/types.go

@@ -215,5 +215,5 @@ type InvokeNodeResponse struct {
 
 type InvokeEncryptionResponse struct {
 	Error string         `json:"error"`
-	Data  map[string]any `json:"data" validate:"required"`
+	Data  map[string]any `json:"data"`
 }