Adapt to renamed field

This commit is contained in:
André Duffeck
2022-04-28 08:39:12 +02:00
parent 656ef9d6ae
commit 4dd89aa804
2 changed files with 8 additions and 8 deletions
@@ -47,7 +47,7 @@ func New(gwClient gateway.GatewayAPIClient, indexClient search.IndexClient, mach
var owner *user.User
switch e := ev.(type) {
case events.FileUploaded:
ref = e.FileID
ref = e.Ref
owner = &user.User{
Id: e.Executant,
}