Properly check for discriminator field in context

This commit is contained in:
George Suntres
2026-04-23 13:21:13 -04:00
parent ac33f2f04c
commit 47be80bafb
4 changed files with 16 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ import (
)
type PersistProps struct {
MongoSysDb string
MongoSysDb string
}
// Persist is the root object for accessing data.
@@ -36,7 +36,7 @@ func NewPersist(props *PersistProps) *Persist {
}
p.SysDb = props.MongoSysDb
return p
}