Skip to content

Commit

Permalink
Merge pull request #3993 from dragonchaser/issue-3753-issues-with-aud…
Browse files Browse the repository at this point in the history
…it-public_link_token_in_event

Add Token to LinkAccessedEvent
  • Loading branch information
dragonchaser authored Jun 19, 2023
2 parents 99d47da + 07f54f0 commit 9bd3d73
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 9bd3d73

Please sign in to comment.