async fn set_organization_image(
    request: HttpRequest,
    payload: Multipart,
    organization_id: Path<Uuid>,
    pool: Data<PgPool>,
    user: AuthUser,
    file_store: Data<dyn FileStore>,
    app_conf: Data<ApplicationConfiguration>
) -> ControllerResult<Json<Organization>>
Expand description

PUT /api/v0/main-frontend/organizations/:organizations_id/image - Sets or updates the chapter image.

Example

Request:

PUT /api/v0/main-frontend/organizations/d332f3d9-39a5-4a18-80f4-251727693c37/image HTTP/1.1
Content-Type: multipart/form-data

BINARY_DATA