Skip to content

Commit 904cf18

Browse files
Merge pull request #38 from NYCU-SDC/fix/update-upload-cover-image-route
Update route for uploading form cover image
2 parents 8951866 + 080adc0 commit 904cf18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service/forms.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ namespace CoreSystem.Forms {
408408
op listQuestions(@path sectionId: uuid, @query responseId?: uuid): QuestionResponse[];
409409

410410
@doc("Upload a cover image for a form. The frontend should send images in WebP format with max-width/height: 1800px and quality 80%.")
411-
@route("/forms/{id}/upload-cover")
411+
@route("/forms/{id}/cover")
412412
@post
413413
op uploadFormCoverImage(
414414
@path id: uuid,

0 commit comments

Comments
 (0)