Skip to content

Commit bd9bf81

Browse files
fix: change coverImage type to array in FormCoverUploadRequest model
1 parent dfaf0d6 commit bd9bf81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/form/models.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using Http;
33
namespace CoreSystem.Forms {
44
@doc("The request body for uploading a cover image. The frontend should send images in WebP format with max-width/height: 1800px and quality 80%.")
55
model FormCoverUploadRequest {
6-
coverImage: HttpPart<bytes>;
6+
coverImage: HttpPart<bytes[]>;
77
}
88

99
@doc("Response after uploading a cover image.")

0 commit comments

Comments
 (0)