Properly check for discriminator field in context
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user