File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -261,21 +261,21 @@ export default class Calculator {
261
261
async estimateMatching (
262
262
potentialVotes : Contribution [ ]
263
263
) : Promise < MatchingEstimateResult > {
264
- const votes = this . parseJSONFile < Vote > (
264
+ const votes = await this . parseJSONFile < Vote > (
265
265
"votes" ,
266
266
`${ this . chainId } /rounds/${ this . roundId } /votes.json`
267
267
) ;
268
- const applications = this . parseJSONFile < Application > (
268
+ const applications = await this . parseJSONFile < Application > (
269
269
"applications" ,
270
270
`${ this . chainId } /rounds/${ this . roundId } /applications.json`
271
271
) ;
272
272
273
- const rounds = this . parseJSONFile < Round > (
273
+ const rounds = await this . parseJSONFile < Round > (
274
274
"rounds" ,
275
275
`${ this . chainId } /rounds.json`
276
276
) ;
277
277
278
- const passportScores = this . parseJSONFile < PassportScore > (
278
+ const passportScores = await this . parseJSONFile < PassportScore > (
279
279
"passport scores" ,
280
280
"passport_scores.json"
281
281
) ;
You can’t perform that action at this time.
0 commit comments