feat: modify field
This commit is contained in:
@@ -154,7 +154,7 @@ func (svc *TaskService) ExportTask(ctx context.Context, req *task.ExportTaskRequ
|
|||||||
// call http://localhost:8055/export
|
// call http://localhost:8055/export
|
||||||
body := &bytes.Buffer{}
|
body := &bytes.Buffer{}
|
||||||
writer := multipart.NewWriter(body)
|
writer := multipart.NewWriter(body)
|
||||||
_ = writer.WriteField("markdown", markdown)
|
_ = writer.WriteField("markdown_input", markdown)
|
||||||
_ = writer.WriteField("type", req.Type)
|
_ = writer.WriteField("type", req.Type)
|
||||||
writer.Close()
|
writer.Close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user