Skip to content

Commit

Permalink
chore: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
gigatim committed Feb 18, 2025
1 parent 374b8df commit 84cf449
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions gigalixir/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@
from six.moves.urllib.parse import quote
from time import sleep

def create(session, email, password, accept_terms_of_service_and_privacy_policy):
r = session.post('/api/free_users', json = {
'email': email,
'password': password,
})
if r.status_code != 200:
if r.status_code == 401:
raise auth.AuthException()
raise Exception(r.text)
logging.getLogger("gigalixir-cli").info('Created account for %s. Confirmation email sent.' % email)
logging.getLogger("gigalixir-cli").info('Please check your email and click confirm before continuing.')

def upgrade(session, card_number, card_exp_month, card_exp_year, card_cvc, promo_code):
token = stripe.Token.create(
card={
Expand Down

0 comments on commit 84cf449

Please sign in to comment.