Automatic Scraping of dataset options #9

Merged
dylan merged 36 commits from feat/automatic-scraping-datasets into main 2026-03-14 21:58:49 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 262a70dbf3 - Show all commits

View File

@@ -40,7 +40,7 @@ const UploadPage = () => {
setHasError(false);
setReturnMessage("");
const response = await axios.post(`${API_BASE_URL}/upload`, formData, {
const response = await axios.post(`${API_BASE_URL}/datasets/upload`, formData, {
headers: {
"Content-Type": "multipart/form-data",
},

View File

@@ -111,7 +111,7 @@ def get_user_datasets():
current_user = int(get_jwt_identity())
return jsonify(dataset_manager.get_user_datasets(current_user)), 200
@app.route("/upload", methods=["POST"])
@app.route("/datasets/upload", methods=["POST"])
@jwt_required()
def upload_data():
if "posts" not in request.files or "topics" not in request.files: