Skip to content

Commit

Permalink
fix git fuckery
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNilges committed Oct 13, 2024
1 parent f800b3b commit adcb98a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/meshapi/views/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ def join_form(request: Request) -> Response:

changed_info: dict[str, str | int] = {}

# TODO: Notify member if we changed any of their information
# Name (won't touch), email (won't touch), phone, st addr, unit (won't touch), city, State, Zip
if formatted_phone_number and r.phone_number != formatted_phone_number:
logging.warning(f"Changed phone_number: {formatted_phone_number} != {r.phone_number}")
changed_info["phone_number"] = formatted_phone_number
Expand Down Expand Up @@ -183,7 +181,6 @@ def join_form(request: Request) -> Response:
# If this is an existing member, then set a flag to let them know we have
# their information in case they need to update anything.
"member_exists": None,
# TODO: Add a "trust me bro" parameter. Maybe log if it breaks
"changed_info": changed_info,
},
status=status.HTTP_409_CONFLICT,
Expand Down
2 changes: 1 addition & 1 deletion src/meshapi/views/query_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Meta:
parameters=[query_form_password_param],
summary="Query & filter based on Install attributes. "
"Results are returned as flattened spreadsheet row style output",
auth=["bearer"],
auth=[],
),
)
class QueryInstall(FilterRequiredListAPIView):
Expand Down

0 comments on commit adcb98a

Please sign in to comment.