Fix duplicate id
This commit is contained in:
@@ -49,9 +49,6 @@ public class TeamIDMatcher {
|
|||||||
Integer tlwId = null;
|
Integer tlwId = null;
|
||||||
if(apiFootballId == null) return null;
|
if(apiFootballId == null) return null;
|
||||||
initBiMap();
|
initBiMap();
|
||||||
if(apiFootballId == 12878) {
|
|
||||||
logger.info("Found it.");
|
|
||||||
}
|
|
||||||
if(ids.inverse().containsKey(apiFootballId)) {
|
if(ids.inverse().containsKey(apiFootballId)) {
|
||||||
tlwId = ids.inverse().get(apiFootballId);
|
tlwId = ids.inverse().get(apiFootballId);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1021,7 +1021,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"teamname": "Bologna",
|
"teamname": "Bologna",
|
||||||
"tippligaID": 642,
|
"tippligaID": 647,
|
||||||
"apiFootballID": 500
|
"apiFootballID": 500
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user