from fastapi import APIRouter, UploadFile, File
from ..storage import save_upload

router = APIRouter()

@router.post("/upload")
def upload(file: UploadFile = File(...)):
    return save_upload(file)
