-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add afflaiteReferredMakerRebates field to response #2473
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,6 +175,7 @@ class AffiliatesController extends Controller { | |
affiliateReferredTotalVolume: Number(info.referredTotalVolume), | ||
affiliateReferredMakerFees: Number(info.totalReferredMakerFees), | ||
affiliateReferredTakerFees: Number(info.totalReferredTakerFees), | ||
affiliateReferredMakerRebates: Number(info.totalReferredMakerRebates), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Missing The type Additionally, ensure that unit tests properly assert the 🔗 Analysis chainVerify consistency across related files While the change looks good, please ensure that:
To check for related type definitions, you can run: To check for API documentation updates: To check for relevant test files: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for AffiliateSnapshotResponseObject type definition
rg --type typescript "type AffiliateSnapshotResponseObject" -A 20
Length of output: 102 Script: #!/bin/bash
# Search for API documentation mentioning affiliate snapshots
rg --type markdown "affiliate.*snapshot" -A 10
Length of output: 6638 Script: #!/bin/bash
# Search for test files related to AffiliatesController
fd -e test.ts affiliates-controller
Length of output: 121 Script: #!/bin/bash
# Corrected search for AffiliateSnapshotResponseObject type definition using file extensions
rg "type AffiliateSnapshotResponseObject" --glob "*.ts" -A 20
Length of output: 63 Script: #!/bin/bash
# Search within test files for assertions related to affiliateReferredMakerRebates
rg "affiliateReferredMakerRebates" indexer/services/comlink/__tests__/controllers/api/v4/affiliates-controller.test.ts
Length of output: 193 |
||
})); | ||
|
||
const response: AffiliateSnapshotResponse = { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New field
affiliateReferredMakerRebates
added to affiliate responses.A new field
affiliateReferredMakerRebates
has been added to theAffiliateSnapshotResponseObject
and is included in the example response forAffiliateSnapshotResponse
.Please ensure that:
Also applies to: 4252-4253, 4272-4272, 4294-4295