Skip to content

Commit c1c4dbd

Browse files
rumzledzjakubcolony
authored andcommitted
feat: remove redundant ternary
1 parent c4711ec commit c1c4dbd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/handlers/motions/motionCreated/handlers/streamingPayments.ts/cancelStreamingPaymentsMotion.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ export default async (
2020

2121
await createMotionInDB(colonyAddress, event, {
2222
type: motionNameMapping[name],
23-
fromDomainId: colonyAddress
24-
? getDomainDatabaseId(colonyAddress, domainId)
25-
: undefined,
23+
fromDomainId: getDomainDatabaseId(colonyAddress, domainId),
2624
gasEstimate: gasEstimate.toString(),
2725
streamingPaymentId: getExpenditureDatabaseId(
2826
colonyAddress,

0 commit comments

Comments
 (0)