connect with backend
This commit is contained in:
@@ -33,7 +33,7 @@ class _OtpScreenState extends State<OtpScreen> {
|
||||
setState(() => verifying = true);
|
||||
|
||||
// send signup payload to backend
|
||||
final res = await RequestService().sendSignup(widget.signupPayload);
|
||||
final res = await RequestService(context).sendSignup(widget.signupPayload);
|
||||
|
||||
setState(() => verifying = false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user