fix(nodes): fix images service update() for is_intermediate

This commit is contained in:
psychedelicious 2023-05-29 09:32:12 +10:00 committed by Kent Keirsey
parent 89aa06e014
commit 3e3dd39ae4

View File

@ -253,7 +253,7 @@ class SqliteImageRecordStorage(ImageRecordStorageBase):
)
# Change the image's `is_intermediate`` flag
if changes.session_id is not None:
if changes.is_intermediate is not None:
self._cursor.execute(
f"""--sql
UPDATE images