doc pointer fix

This commit is contained in:
Vladimir V Maksimov
2026-04-27 13:07:09 +03:00
parent 035cce844c
commit 3e05ab6f19
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ func NewGormStorage(manager IDBManager) *GormStorage {
}
func (s *GormStorage) CreateDocument(doc *models.Document) error {
err := s.manager.GetMaster().Create(&doc).Error
err := s.manager.GetMaster().Create(doc).Error
return err
}