add flag for logging a contribution as a trade

This commit is contained in:
2024-01-08 21:28:04 -07:00
parent 525d3fc15a
commit 8a7ce0fe65
7 changed files with 50 additions and 20 deletions

View File

@@ -385,7 +385,9 @@ export default class HomeView extends Vue {
public async retrieveGives(endorserApiServer: string, beforeId?: string) {
const beforeQuery = beforeId == null ? "" : "&beforeId=" + beforeId;
const response = await fetch(
endorserApiServer + "/api/v2/report/gives?" + beforeQuery,
endorserApiServer +
"/api/v2/report/gives?giftNotTrade=true&" +
beforeQuery,
{
method: "GET",
headers: await this.buildHeaders(),