Skip to content

Commit

Permalink
Revert "correct json validation error"
Browse files Browse the repository at this point in the history
This reverts commit 1376a20.
  • Loading branch information
rafaellichen committed Apr 18, 2024
1 parent 1376a20 commit 8b0bcf5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions api/app/routes/data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
from app.constants import DATABASE_503_RESPONSE, DEFAULT_QUERY_LIMIT, d7validate
from app.constants import (
DATABASE_503_RESPONSE,
DEFAULT_QUERY_LIMIT,
MAX_QUERY_LIMIT,
d7validate,
)
from app.core.subset import Subset
from app.decorators import require_role
from app.enums.search_mode import VerificationSearchMode
from app.flask_app import app, project
from app.routes.json_validation.base import BaseValidation
from flask import abort, jsonify, make_response, request
Expand Down Expand Up @@ -186,7 +192,7 @@ def batch_update_metadata():
"type": "object",
"properties": {
"uuid": BaseValidation.uuid,
"value": {"type": ["string", "array", "number"]},
"value": {"type": ["string", "array", "integer", "float"]},
},
},
},
Expand Down

0 comments on commit 8b0bcf5

Please sign in to comment.