rep monitoring: expect that "accounts/verified" is not guaranteed to succeed
This commit is contained in:
parent
70a33cb0be
commit
f53e2ee8b1
1 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,11 @@ export class NinjaService {
|
||||||
|
|
||||||
async recommendedRandomized(): Promise<any> {
|
async recommendedRandomized(): Promise<any> {
|
||||||
const replist = await this.recommended();
|
const replist = await this.recommended();
|
||||||
|
|
||||||
|
if (replist == null) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
return this.randomizeByScore(replist);
|
return this.randomizeByScore(replist);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue