mirror of
https://github.com/documize/community.git
synced 2025-07-31 02:59:44 +02:00
EmberJS: FolderID to SpaceID
Co-Authored-By: Harvey Kandola <harvey@documize.com>
This commit is contained in:
parent
66d5e73ed1
commit
e0457b40da
45 changed files with 170 additions and 99 deletions
|
@ -29,12 +29,12 @@ type Handler struct {
|
|||
|
||||
// UploadConvert is an endpoint to both upload and convert a document
|
||||
func (h *Handler) UploadConvert(w http.ResponseWriter, r *http.Request) {
|
||||
job, folderID, orgID := h.upload(w, r)
|
||||
job, spaceID, orgID := h.upload(w, r)
|
||||
if job == "" {
|
||||
return // error already handled
|
||||
}
|
||||
|
||||
h.convert(w, r, job, folderID, api.ConversionJobRequest{
|
||||
h.convert(w, r, job, spaceID, api.ConversionJobRequest{
|
||||
Job: job,
|
||||
IndexDepth: 4,
|
||||
OrgID: orgID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue