Skip to content

Commit

Permalink
Fixing all names
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Oct 18, 2024
1 parent 1098aa2 commit 2367152
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/tuber/api/uber.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def sync_attendees(event):
counter += 1
if attendee in badgelookup:
badge = badgelookup[attendee]
if uber_model['full_name'] != badge.public_name:
if uber_model['full_name'] != badge.public_name or uber_model['legal_name'] != badge.legal_name or uber_model['first_name'] != badge.first_name or uber_model['last_name'] != badge.last_name:
print(f"Updating public name from {badge.public_name} to {uber_model['full_name']}")
badge.first_name = uber_model['first_name']
badge.last_name = uber_model['last_name']
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- postgres
- redis
environment:
DATABASE_URL: postgresql://tuber:tuber@postgres/tuber
DATABASE_URL: postgresql+psycopg://tuber:tuber@postgres/tuber
REDIS_URL: redis://redis:6379/0
VERBOSE: "true"
FLASK_DEBUG: 1
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/assets/styles/sass/_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

&.layout-static {
.layout-main-container {
margin-left: 300px;
margin-left: 180px;
}

&.layout-static-sidebar-inactive {
Expand Down

0 comments on commit 2367152

Please sign in to comment.