Quick fixes

This commit is contained in:
Johnny Gear 2026-03-07 10:44:09 -06:00
parent c2bd70e905
commit 469a3988e2
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ class StartCommand(TelegramCommand):
user_add(username, chat_id)
yield "Welcome to Gear Orders bot.\n\nEdit your orders at {FLASK_URL}\n\nAdd a dom with `/dom_add <username>` or ask a sub to add you."
yield f"Welcome to Gear Orders bot.\n\nEdit your orders at {FLASK_URL}\n\nAdd a dom with `/dom_add <username>` or ask a sub to add you."
class DomAddCommand(TelegramCommand):
command_text = "/dom_add"

View file

@ -19,7 +19,7 @@ def me():
return jsonify({
"username": user.telegram_username,
"telegram_photo_url": user.telegram_photo_url,
"mastodon_server": user.mastodon_server.name,
"mastodon_server": user.mastodon_server.name if user.mastodon_server else None,
"mastodon_username": user.mastodon_username,
"mastodon_attn_list": user.mastodon_attn_list,
"mastodon_post_public": user.mastodon_post_public

View file

@ -7,7 +7,7 @@
<title>Gear Orders Bot</title>
{{ vite_entry('src/main.tsx') | safe }}
{{ vite_entry('src/main.tsx') }}
</head>