mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
event logging
This commit is contained in:
parent
b6c676149a
commit
93ed361705
48 changed files with 861 additions and 853 deletions
|
@ -245,6 +245,8 @@ func processDocument(p request.Persister, filename, job, folderID string, fileRe
|
|||
SourceType: entity.ActivitySourceTypeDocument,
|
||||
ActivityType: entity.ActivityTypeCreated})
|
||||
|
||||
p.RecordEvent(entity.EventTypeDocumentUpload)
|
||||
|
||||
log.IfErr(tx.Commit())
|
||||
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue