Skip to content

Commit

Permalink
fix: SpaceMembershipExpired unmarshal
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianbeier committed Jan 16, 2025
1 parent ea319ad commit c40c3ed
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

TODO
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 c40c3ed

Please sign in to comment.