Skip to content

Commit 3be22df

Browse files
committed
WORKING
1 parent a582bb8 commit 3be22df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/dao/template_email_files_dao.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def dao_get_template_email_files_by_template_id(template_id, template_version=No
3737
select(TemplateEmailFileHistory)
3838
.where(TemplateEmailFileHistory.template_id == template_id)
3939
.where(TemplateEmailFileHistory.template_version <= template_version)
40-
.where(not TemplateEmailFileHistory.pending)
40+
.where(TemplateEmailFileHistory.pending.is_(False))
4141
.order_by(TemplateEmailFileHistory.id)
4242
.order_by(TemplateEmailFileHistory.version.desc())
4343
.distinct(TemplateEmailFileHistory.id)

0 commit comments

Comments
 (0)