Skip to content

Commit

Permalink
Fixed spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeceDonovan committed Feb 22, 2024
1 parent b3b33a5 commit 9474829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/announcements.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ func getAnnouncements(w http.ResponseWriter, r *http.Request) {
announcements = cachedAnnouncements.([]*Announcement)
} else {
announcements = []*Announcement{}
publiChannelID := viper.Get("discord.channels").(*config.Channels).PublicAnnouncements
publicAnnounce, err := session.ChannelMessages(publiChannelID, 100, "", "", "")
publicChannelID := viper.Get("discord.channels").(*config.Channels).PublicAnnouncements
publicAnnounce, err := session.ChannelMessages(publicChannelID, 100, "", "", "")
if err != nil {
log.WithError(err).Error("Error querying announcements for api")
return
Expand Down

0 comments on commit 9474829

Please sign in to comment.