forked from MapComplete/MapComplete
Fix: tests
This commit is contained in:
parent
01cc2f4170
commit
5b43316f10
7 changed files with 205 additions and 46 deletions
|
|
@ -64,7 +64,7 @@ export default class Maproulette {
|
|||
if (code === "Created") {
|
||||
return Maproulette.STATUS_OPEN
|
||||
}
|
||||
const i = maprouletteStatus.findIndex(<any>code)
|
||||
const i = maprouletteStatus.indexOf(<any>code)
|
||||
if (i < 0) {
|
||||
return undefined
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue