Skip to content

Commit

Permalink
Remove aka username (#73)
Browse files Browse the repository at this point in the history
* remove username aka from settings POST

* remove username aka from `UsersSelfSettingsGET`

* remove unused import
  • Loading branch information
lenforiee authored Sep 11, 2024
1 parent 9cb9e80 commit 727a97a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/v1/self.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package v1

import (
"strings"

"github.com/osuAkatsuki/akatsuki-api/common"
)

Expand Down Expand Up @@ -51,7 +49,7 @@ func UsersSelfFavouriteModeGET(md common.MethodData) common.CodeMessager {
}

type userSettingsData struct {
FavouriteMode *int `json:"favourite_mode"`
FavouriteMode *int `json:"favourite_mode"`
CustomBadge struct {
singleBadge
Show *bool `json:"show"`
Expand Down

0 comments on commit 727a97a

Please sign in to comment.