Skip to content

fix(models): persist notify_diagnosis in task and template create/update - #277

Open
RecursiveVar wants to merge 1 commit into
gocronx-team:masterfrom
RecursiveVar:fix/notify-diagnosis-persist
Open

RecursiveVar wants to merge 1 commit into
gocronx-team:masterfrom
RecursiveVar:fix/notify-diagnosis-persist

Conversation

@RecursiveVar

Copy link
Copy Markdown

notify_diagnosis was missing from the Select() lists of Task.Create, Task.UpdateBean and TaskTemplate.UpdateBean while the update maps did set it, so GORM silently dropped the column and the AI diagnosis toggle never reached the database (always default 0, the feature never triggered).

notify_diagnosis was missing from the Select() lists of Task.Create,
Task.UpdateBean and TaskTemplate.UpdateBean while the update maps did set
it, so GORM silently dropped the column and the AI diagnosis toggle never
reached the database (always default 0, the feature never triggered).

(cherry picked from commit 60bbf0f4dcc0e7e33420375440cffed038f128a9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant