Implement new web service to check if someone donated to a project in an specific qfRound or not
mohammadranjbarz opened this issue · comments
mohammadranjbarz commented
- Suggested webServie name:
doesDonatedToProjectInQfRound - Inputs
projectId
qfRoundId
userId
@MohammadPCh or you preferwalletAddress
?
- Response
Should return just a boolean
@MohammadPCh @MoeNick Please let me know if you need something more for this webservie
related to Giveth/giveth-dapps-v2#2958
Moe Nick commented
It's all fine. thank you
mohammadranjbarz commented
@MoeNick The backend part is merged now
@MohammadPCh You can call it in this way
query (
$projectId: Int!,
$qfRoundId: Int!,
$userId: Int!
) {
doesDonatedToProjectInQfRound(
projectId: $projectId
qfRoundId: $qfRoundId
userId: $userId
)
}
and it would return a boolean
Lauren commented
@mohammadranjbarz - you are great!!