email services updated

This commit is contained in:
2025-03-24 12:48:31 +03:00
parent 558de2399f
commit 713730420c
18 changed files with 310 additions and 49 deletions

View File

@@ -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

View File

@@ -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"}},
)