add disable customer function
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:fcs/data/services/services.dart';
|
||||
import 'package:fcs/domain/vo/term.dart';
|
||||
import 'package:fcs/helpers/firebase_helper.dart';
|
||||
import 'package:fcs/pages/main/model/base_model.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
|
||||
@@ -10,7 +10,6 @@ class TermModel extends BaseModel {
|
||||
|
||||
Future<void> saveTerm(Term term) async {
|
||||
await request("/terms", "PUT",
|
||||
payload: term.toMap(),
|
||||
token: await Services.instance.authService.getToken());
|
||||
payload: term.toMap(), token: await getToken());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user