Skip to content

Commit

Permalink
Updates to address comments/requests
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidysymons committed Nov 28, 2022
1 parent 4d9c6d9 commit b551efb
Show file tree
Hide file tree
Showing 5 changed files with 188 additions and 183 deletions.
3 changes: 2 additions & 1 deletion microsetta_private_api/admin/admin_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from werkzeug.exceptions import Unauthorized
from microsetta_private_api.qiita import qclient
from microsetta_private_api.repo.interested_user_repo import InterestedUserRepo
from microsetta_private_api.model.subscription import FULFILLMENT_ACCOUNT_ID


def search_barcode(token_info, sample_barcode):
Expand Down Expand Up @@ -551,7 +552,7 @@ def create_daklapack_order_internal(order_dict):
with Transaction() as t:
account_repo = AccountRepo(t)
order_dict[SUBMITTER_ACCT_KEY] = account_repo.get_account(
"000fc4cd-8fa4-db8b-e050-8a800c5d81b7")
FULFILLMENT_ACCOUNT_ID)

result = _create_daklapack_order(order_dict)
return result
Expand Down
2 changes: 1 addition & 1 deletion microsetta_private_api/admin/email_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class EmailMessage(Enum):
)
kit_tracking_number = (
gettext(
"Your Kit is on its way!"),
"Your kit is on its way!"),
"email/kit_tracking_number.jinja2",
("first_name", "tracking_number"),
EventType.EMAIL,
Expand Down
2 changes: 2 additions & 0 deletions microsetta_private_api/model/subscription.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from microsetta_private_api.model.model_base import ModelBase

FULFILLMENT_ACCOUNT_ID = "000fc4cd-8fa4-db8b-e050-8a800c5d81b7"


class Subscription(ModelBase):
def __init__(self, **kwargs):
Expand Down
Loading

0 comments on commit b551efb

Please sign in to comment.