feat(documents): rebuild project document workbench
This commit is contained in:
@@ -62,7 +62,7 @@ type SyncResultDTO struct {
|
||||
}
|
||||
|
||||
type DepositDTO struct {
|
||||
NoteID string `json:"noteId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
ProjectID string `json:"projectId"`
|
||||
}
|
||||
|
||||
@@ -303,7 +303,7 @@ func (h *Handler) depositItem(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
c.JSON(http.StatusCreated, DepositDTO{
|
||||
NoteID: result.NoteIdentity, ProjectID: result.ProjectIdentity,
|
||||
DocumentID: result.DocumentIdentity, ProjectID: result.ProjectIdentity,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user