forked from yaso_meth/mih-project
update apicall method name
This commit is contained in:
@@ -168,14 +168,14 @@ class _PatientManagerState extends State<PatientManager> {
|
||||
void checkforchange() {
|
||||
if (start == true) {
|
||||
setState(() {
|
||||
patientQueueResults = MIHApiCalls.fetchPatientQueue(
|
||||
patientQueueResults = MIHApiCalls.fetchBusinessAppointmentsAPICall(
|
||||
queueDateController.text, widget.arguments.business!.business_id);
|
||||
start = false;
|
||||
});
|
||||
}
|
||||
if (formattedDate != queueDateController.text) {
|
||||
setState(() {
|
||||
patientQueueResults = MIHApiCalls.fetchPatientQueue(
|
||||
patientQueueResults = MIHApiCalls.fetchBusinessAppointmentsAPICall(
|
||||
queueDateController.text, widget.arguments.business!.business_id);
|
||||
formattedDate = queueDateController.text;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user