Skip to content

Commit

Permalink
Merge pull request #1022 from hotosm/minor-fixes
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
nrjadkry authored Dec 1, 2023
2 parents b98cd14 + 0eab376 commit 6cba5b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from fastapi import FastAPI, Request
from fastapi.exceptions import RequestValidationError
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import FileResponse, HTMLResponse, JSONResponse, RedirectResponse
from fastapi.responses import HTMLResponse, JSONResponse, RedirectResponse
from loguru import logger as log
from osm_fieldwork.xlsforms import xlsforms_path

Expand Down
2 changes: 1 addition & 1 deletion src/backend/app/projects/project_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ async def get_task_status(
from ..static import data_path


@router.post("/templates")
@router.get("/templates/")
async def get_template_file(
file_type: str = Query(
..., enum=["data_extracts", "form"], description="Choose file type"
Expand Down

0 comments on commit 6cba5b7

Please sign in to comment.