Skip to content

Commit

Permalink
Make sure attest data has right format
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Sep 25, 2023
1 parent 8fa9915 commit 2fdc189
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ export function CreateAttestationsDialog({
csvObjects.push({
period: periodId,
username: attestation.users_username,
received_score: attestation.total_received_praise_score,
given_score: attestation.total_given_praise_score,
top_10_receiver: attestation.top_10_receiver,
top_50_receiver: attestation.top_50_receiver,
top_100_receiver: attestation.top_100_receiver,
top_10_giver: attestation.top_10_giver,
top_50_giver: attestation.top_50_giver,
top_100_giver: attestation.top_100_giver,
received_score: attestation.total_received_praise_score.toString(),
given_score: attestation.total_given_praise_score.toString(),
top_10_receiver: attestation.top_10_receiver.toString(),
top_50_receiver: attestation.top_50_receiver.toString(),
top_100_receiver: attestation.top_100_receiver.toString(),
top_10_giver: attestation.top_10_giver.toString(),
top_50_giver: attestation.top_50_giver.toString(),
top_100_giver: attestation.top_100_giver.toString(),
recipient: attestation.users_identityEthAddress,
});
}
Expand Down

0 comments on commit 2fdc189

Please sign in to comment.