Added better types
This commit is contained in:
1 parent
22489242c2
commit
b52f76d3bc
2 files changed
+60
-41
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ function getUserIndex(userId: string, ballotId: string, questionId: string){
|
||||
questionId]
|
||||
}
|
||||
|
||||
function persistTeams(userId: any, ballots: Team[]) {
|
||||
async function persistTeams(userId: any, ballots: Team[]): Promise<void> {
|
||||
const kv = await Deno.openKv();
|
||||
for(const ballot of ballots){
|
||||
for(const question of Object.keys(ballot.scores)){
|
||||
|
||||
Reference in new issue
Block a user