Skip to content

Commit

Permalink
add token to LinkAccessedEvent
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Richter <crichter@owncloud.com>
  • Loading branch information
dragonchaser committed Jun 19, 2023
1 parent 99d47da commit 07f54f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/add-token-to-linkAccessed-event.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Add token to LinkAccessedEvent

We added the link token to the LinkAccessedEvent

https://github.com/cs3org/reva/pull/3993
https://github.com/owncloud/ocis/issues/3753
1 change: 1 addition & 0 deletions internal/grpc/interceptors/eventsmiddleware/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func LinkAccessFailed(r *link.GetPublicShareByTokenResponse, req *link.GetPublic
Status: r.Status.Code,
Message: r.Status.Message,
Timestamp: utils.TSNow(),
Token: req.Token,
}
if r.Share != nil {
e.ShareID = r.Share.Id
Expand Down

0 comments on commit 07f54f0

Please sign in to comment.