소스 검색

fix Council members table

Joystream Stats 3 년 전
부모
커밋
b6ee838ade
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      contributions/tech/council-report-generator/cli/src/report-functions.ts

+ 1 - 2
contributions/tech/council-report-generator/cli/src/report-functions.ts

@@ -44,8 +44,7 @@ export async function generateReportData(
   for (const member of members) {
     const { username, memberId, votesInProposals, ownStake, backersStake } =
       member;
-    councilTable += `| @${username} | ${memberId} | ${votesInProposals} | {
-      ownStake } | ${backersStake} |\n`;
+    councilTable += `| @${username} | ${memberId} | ${votesInProposals} | ${ownStake} | ${backersStake} |\n`;
   }
   councilTable += `| | | Subtotal: | ${membersOwnStake} | ${backersTotalStake} |\n`;
   const totalStake = membersOwnStake + backersTotalStake;