diff --git a/mockdata.py b/mockdata.py index 207c1d7..3bc42d3 100644 --- a/mockdata.py +++ b/mockdata.py @@ -6,27 +6,7 @@ # TODO: Replace JSON_PATH here cred = credentials.Certificate("firebase_SA.json") -# TODO: Replace DATABASE_URL here -firebase_admin.initialize_app(cred,{ - 'databaseURL': 'https://test-ssnce.firebaseio.com/' -}) - -# firebase realtime data - -ref = db.reference('/') -ref.set({ - - "block_screen": { - "global_chat": False, - "is_block": False, - "non_ssn_email": True, - "overall": False, - - } -}) - -print ('firebase realtime data added successfully') - +firebase_admin.initialize_app(cred) testdb = firestore.client() # Club collection @@ -543,4 +523,4 @@ testdb.collection(u'post_club').document('novvyu37').set(data) -print ('post_club collection added successfully') \ No newline at end of file +print ('post_club collection added successfully')