Skip to content

Commit 9474829

Browse files
committed
Fixed spelling mistake
1 parent b3b33a5 commit 9474829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/announcements.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ func getAnnouncements(w http.ResponseWriter, r *http.Request) {
5555
announcements = cachedAnnouncements.([]*Announcement)
5656
} else {
5757
announcements = []*Announcement{}
58-
publiChannelID := viper.Get("discord.channels").(*config.Channels).PublicAnnouncements
59-
publicAnnounce, err := session.ChannelMessages(publiChannelID, 100, "", "", "")
58+
publicChannelID := viper.Get("discord.channels").(*config.Channels).PublicAnnouncements
59+
publicAnnounce, err := session.ChannelMessages(publicChannelID, 100, "", "", "")
6060
if err != nil {
6161
log.WithError(err).Error("Error querying announcements for api")
6262
return

0 commit comments

Comments
 (0)