|
|
|
@ -23,13 +23,14 @@ participant ":Web Api" as Api
|
|
|
|
|
alt confirmAnswer
|
|
|
|
|
Crt -> App : confirmAnswer
|
|
|
|
|
App -> Api : confirmAnswer
|
|
|
|
|
Api -> Api : endBet
|
|
|
|
|
Api --> App : response
|
|
|
|
|
App -> Usr : displayResult
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
group when [Has been 1 week]
|
|
|
|
|
Api --> Api : refundUsers
|
|
|
|
|
Api --> Api : endBet
|
|
|
|
|
group when [Has been 1 week unconfirmed]
|
|
|
|
|
Api -> Api : refundUsers
|
|
|
|
|
Api -> Api : endBet
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|