Skip to content

Commit

Permalink
Also index new directories
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed May 2, 2022
1 parent acd6b33 commit a1b34a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/audit/pkg/types/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func RegisteredEvents() []events.Unmarshaller {
events.ReceivedShareUpdated{},
events.LinkAccessed{},
events.LinkAccessFailed{},
events.ContainerCreated{},
events.FileUploaded{},
events.FileDownloaded{},
events.ItemTrashed{},
Expand Down
5 changes: 5 additions & 0 deletions extensions/search/pkg/search/provider/searchprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ func New(gwClient gateway.GatewayAPIClient, indexClient search.IndexClient, mach
}

continue
case events.ContainerCreated:
ref = e.Ref
owner = &user.User{
Id: e.Executant,
}
case events.FileUploaded:
ref = e.Ref
owner = &user.User{
Expand Down

0 comments on commit a1b34a6

Please sign in to comment.