move reportUrl and reportProjectId from config to setting
This commit is contained in:
@@ -3,9 +3,8 @@ import 'dart:convert';
|
||||
|
||||
import 'package:cloud_firestore/cloud_firestore.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
|
||||
import '../../../config.dart';
|
||||
import '../../../constants.dart';
|
||||
import '../../../data/services/services.dart';
|
||||
import '../../../domain/entities/user.dart';
|
||||
import '../../../helpers/api_helper.dart';
|
||||
import '../../../helpers/firebase_helper.dart';
|
||||
@@ -57,7 +56,7 @@ class SenderSelectionModel extends BaseModel {
|
||||
|
||||
var result = await requestAPI(
|
||||
"/api/fts/$user_collection/$escapeSender/$rowPerPage", "GET",
|
||||
url: Config.instance.reportURL, token: await getToken());
|
||||
url: Services.setting.reportURL, token: await getToken());
|
||||
|
||||
if (result != null) {
|
||||
for (var row in result) {
|
||||
|
||||
Reference in New Issue
Block a user