update apicall method name
This commit is contained in:
parent
87d2489186
commit
23c5a2dc63
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue