use only one card pool
This commit is contained in:
+5
-5
@@ -25,11 +25,11 @@ class DataManager:
|
||||
cred = credentials.Certificate(definitions.ROOT_DIR + "/appointment.json")
|
||||
self._app = firebase_admin.initialize_app(cred)
|
||||
self._db = firestore.client()
|
||||
# contact_collection = self._db.collection(CONTACT_COLLECTION_NAME)
|
||||
# self._contact_list = []
|
||||
# for contact in contact_collection.stream():
|
||||
# contact_pojo = ContactPojo.from_firestore_dict(contact.to_dict())
|
||||
# self._contact_list.append(contact_pojo)
|
||||
contact_collection = self._db.collection(CONTACT_COLLECTION_NAME)
|
||||
self._contact_list = []
|
||||
for contact in contact_collection.stream():
|
||||
contact_pojo = ContactPojo.from_firestore_dict(contact.to_dict())
|
||||
self._contact_list.append(contact_pojo)
|
||||
|
||||
def get_all_error_items(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user