Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 35e68c5

Browse files
committed
2 parents 9fd7f58 + 41ea06f commit 35e68c5

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ Distributed under the MIT License. See `LICENSE.txt` for more information.
6565
## Contact
6666

6767
Bruce Wang: [email protected]
68+
6869
LinkedIn: [https://www.linkedin.com/in/brucewzj/](https://www.linkedin.com/in/brucewzj/)
70+
6971
Project Link: [https://github.com/brucewzj99/tele-tracker](https://github.com/brucewzj99/tele-tracker)
7072

7173

firebase_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from firebase_admin import db
44
import os
55

6-
databaseURL = os.getenv("TRACKER_TELEGRAM_TOKEN")
6+
databaseURL = os.getenv("DATABASE_URL")
77

88
cred = credentials.Certificate("accounts/firebase_account.json")
99
firebase_admin.initialize_app(cred, {

main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
6161
'1. Go over to xxx.\n'+
6262
'2. Go to File > Make a copy\n'+
6363
'3. Go to File > Share > Share with others\n'+
64-
'4. Add tele-finance-tracker-services@tele-finance-tracker.iam.gserviceaccount.com as an editor\n'+
64+
'4. Add xxx@iam.gserviceaccount.com as an editor\n'+
6565
'5. Copy your Google Sheet URL and send it over\n'+
6666
'Example: https://docs.google.com/spreadsheets/d/abcd1234/edit\n')
6767
return SET_UP
@@ -101,7 +101,7 @@ async def reset_up(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
101101
'1. Go over to xxx.\n'+
102102
'2. Go to File > Make a copy\n'+
103103
'3. Go to File > Share > Share with others\n'+
104-
'4. Add tele-finance-tracker-services@tele-finance-tracker.iam.gserviceaccount.com as an editor\n'+
104+
'4. Add xxx@iam.gserviceaccount.com as an editor\n'+
105105
'5. Copy your Google Sheet URL and send it over\n'+
106106
'Example: https://docs.google.com/spreadsheets/d/abcd1234/edit\n')
107107
return SET_UP
@@ -136,7 +136,7 @@ async def config_handler(update: Update, context: ContextTypes.DEFAULT_TYPE) ->
136136
'1. Go over to xxx.\n'+
137137
'2. Go to File > Make a copy\n'+
138138
'3. Go to File > Share > Share with others\n'+
139-
'4. Add tele-finance-tracker-services@tele-finance-tracker.iam.gserviceaccount.com as an editor\n'+
139+
'4. Add xxx@iam.gserviceaccount.com as an editor\n'+
140140
'5. Copy your Google Sheet URL and send it over\n'+
141141
'Example: https://docs.google.com/spreadsheets/d/abcd1234/edit\n')
142142
return SET_UP
@@ -551,4 +551,4 @@ def main():
551551
application.run_polling()
552552

553553
if __name__ == "__main__":
554-
main()
554+
main()

0 commit comments

Comments
 (0)