Skip to content

Commit

Permalink
Merge pull request #5043 from bastianbeier/fix/space-membership-expir…
Browse files Browse the repository at this point in the history
…ed-unmarshal

fix: SpaceMembershipExpired unmarshal
  • Loading branch information
bastianbeier authored Jan 16, 2025
2 parents ea319ad + 3120ead commit ef95a0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Fix SpaceMembershipExpired unmarshal

SpaceMembershipExpired events can now be unmarshalled correctly

https://github.com/cs3org/reva/pull/5043
2 changes: 1 addition & 1 deletion pkg/events/spaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ type SpaceMembershipExpired struct {

// Unmarshal to fulfill umarshaller interface
func (SpaceMembershipExpired) Unmarshal(v []byte) (interface{}, error) {
e := ShareExpired{}
e := SpaceMembershipExpired{}
err := json.Unmarshal(v, &e)
return e, err
}

0 comments on commit ef95a0a

Please sign in to comment.