Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rn0 committed Sep 27, 2024
1 parent 558ec2c commit 829a7f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func getNextCreedSong() (Track, error) {

func getNextCreedSongExcludeURI(excludeUri spotify.URI) (Track, error) {
var track Track
if err := db.Raw("SELECT * FROM tracks WHERE artist == 'Creed' AND uri != ? ORDER BY random()", excludeUri).First(&track).Error; err != nil {
if err := db.Raw("SELECT * FROM tracks WHERE artist == 'Creed' AND uri != ? ORDER BY random()", excludeUri).First(&track).Error; err != nil {
return track, err
}
return track, nil
Expand Down
3 changes: 2 additions & 1 deletion api/templates/banned-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ fart
cum
ram ranch
orgasm
beats by talent
beats by talent
weeb

0 comments on commit 829a7f7

Please sign in to comment.