Skip to content

Commit

Permalink
fix slp status response description marshalling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sch8ill committed Sep 19, 2024
1 parent 49c5cee commit de3dc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slp/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (d *Description) UnmarshalJSON(b []byte) error {
}

// MarshalJSON marshals a Description by returning a marshalled ChatComponent.
func (d *Description) MarshalJSON() ([]byte, error) {
func (d Description) MarshalJSON() ([]byte, error) {
return json.Marshal(d.Description)
}

Expand Down

0 comments on commit de3dc88

Please sign in to comment.