This commit is contained in:
2022-01-06 11:07:53 +07:00
2 changed files with 27 additions and 2 deletions

View File

@@ -119,6 +119,16 @@ export class Membership {
console.error(e);
}
}
async withdrawProfit(id) {
try {
const response = await http.put(`/transaction/withdraw/${id}`);
await this.getData();
return response;
} catch (e) {
console.error(e);
}
}
}