email services updated
This commit is contained in:
@@ -13,6 +13,8 @@ COPY /BankServices/WriterService/pyproject.toml ./pyproject.toml
|
||||
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-root --only main \
|
||||
&& pip cache purge && rm -rf ~/.cache/pypoetry
|
||||
|
||||
|
||||
|
||||
# Copy application code
|
||||
ADD /BankServices/WriterService /
|
||||
ADD /Configs /Configs
|
||||
|
||||
@@ -48,8 +48,7 @@ def write_parsed_data_to_account_records(
|
||||
new_account_record.is_confirmed = True
|
||||
new_account_record.save(db=db_session)
|
||||
mongo_provider.update_one(
|
||||
filter_query={"filename": file},
|
||||
update_data={"$set": {"stage": "written"}},
|
||||
filter_query={"filename": file}, update_data={"$set": {"stage": "written"}},
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user