AndreaCrotti / elo

Elo ranking platform implemented in Clojure and re-frame
Eclipse Public License 1.0
19 stars 8 forks source link

Avoid duplicates #158

Open AndreaCrotti opened 5 years ago

AndreaCrotti commented 5 years ago

Check the last game before inserting a game, and if it's a duplicate return 400

codecov[bot] commented 5 years ago

Codecov Report

Merging #158 into master will increase coverage by 0.63%. The diff coverage is 96.55%.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   77.46%   78.09%   +0.63%     
==========================================
  Files          25       25              
  Lines         710      735      +25     
  Branches       53       54       +1     
==========================================
+ Hits          550      574      +24     
  Misses        107      107              
- Partials       53       54       +1