mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Use timestamp type for comments backup/restore
This commit is contained in:
parent
5e58b56182
commit
3913995dd0
2 changed files with 24 additions and 24 deletions
|
@ -716,13 +716,13 @@ func (b backerHandler) dmzDocument(files *[]backupItem) (err error) {
|
|||
|
||||
// Comment
|
||||
type comment struct {
|
||||
RefID string `json:"feedbackId"`
|
||||
OrgID string `json:"orgId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
UserID string `json:"userId"`
|
||||
Email string `json:"email"`
|
||||
Feedback string `json:"feedback"`
|
||||
Created string `json:"created"`
|
||||
RefID string `json:"feedbackId"`
|
||||
OrgID string `json:"orgId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
UserID string `json:"userId"`
|
||||
Email string `json:"email"`
|
||||
Feedback string `json:"feedback"`
|
||||
Created time.Time `json:"created"`
|
||||
}
|
||||
|
||||
cm := []comment{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue