We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8fca07 commit 8bd546aCopy full SHA for 8bd546a
1 file changed
api/v1_users_supporters.go
@@ -81,14 +81,14 @@ func (app *ApiServer) v1UsersSupporters(c *fiber.Ctx) error {
81
// Create a new array with MinUsers
82
type minSupportedUser struct {
83
supportedUser
84
- Receiver dbv1.MinUser `json:"receiver"`
+ Sender dbv1.MinUser `json:"sender"`
85
}
86
87
minSupported := make([]minSupportedUser, len(supported))
88
for i, user := range supported {
89
minSupported[i] = minSupportedUser{
90
supportedUser: user,
91
- Receiver: dbv1.ToMinUser(user.Sender),
+ Sender: dbv1.ToMinUser(user.Sender),
92
93
94
0 commit comments