Browse Source

Lint mappings

Theophile Sandoz 3 years ago
parent
commit
c3404e5689
1 changed files with 5 additions and 1 deletions
  1. 5 1
      query-node/mappings/src/bounty.ts

+ 5 - 1
query-node/mappings/src/bounty.ts

@@ -35,7 +35,11 @@ async function getBounty(store: DatabaseManager, bountyId: BountyId): Promise<Bo
   return bounty
 }
 
-async function getContribution(store: DatabaseManager, bountyId: BountyId, contributor?: string): Promise<BountyContribution> {
+async function getContribution(
+  store: DatabaseManager,
+  bountyId: BountyId,
+  contributor?: string
+): Promise<BountyContribution> {
   const contribution = await store.get(BountyContribution, { where: { bountyId, contributor } })
   if (!contribution) {
     const actorType = typeof contributor === 'undefined' ? 'council' : `member id ${contributor}`