Skip to content

Commit

Permalink
Merge pull request #41 from blackcandy-org/fix-ci
Browse files Browse the repository at this point in the history
Fix CI error.
  • Loading branch information
aidewoode authored Nov 28, 2023
2 parents d8dfc1a + be6eed2 commit e1d6a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BlackCandy/Store/PlayerReducer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ struct PlayerReducer: Reducer {
.toggleFavoriteResponse(
TaskResult {
if currentSong.isFavorited {
try await apiClient.deleteSongInFavorite(currentSong)
return try await apiClient.deleteSongInFavorite(currentSong)
} else {
try await apiClient.addSongToFavorite(currentSong)
return try await apiClient.addSongToFavorite(currentSong)
}
}
)
Expand Down

0 comments on commit e1d6a57

Please sign in to comment.