Skip to content

Commit 82595d1

Browse files
committed
deal with recurrent score duplication the easy way.
1 parent 2c78e5a commit 82595d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/api-interface.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ updateScoresAPI <- function(scores = HockeyModel::scores, schedule = HockeyModel
333333
} else {
334334
message("Scores are updated to today's date already.")
335335
}
336-
return(scores)
336+
return(unique(scores))
337337
}
338338

339339
updateScoresAPI_byGameID <- function(gameids, save_data = FALSE) {

0 commit comments

Comments
 (0)