Default datasource and event system test
This commit is contained in:
@@ -60,7 +60,8 @@ func AddDataSource(cmd *m.AddDataSourceCommand) error {
|
||||
Updated: time.Now(),
|
||||
}
|
||||
|
||||
_, err = sess.Insert(ds)
|
||||
_, err = sess.Insert(&ds)
|
||||
cmd.Result = &ds
|
||||
|
||||
return err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user