File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ limitations under the License.
18
18
package store
19
19
20
20
import (
21
+ "reflect"
22
+
21
23
"github.com/apache/incubator-devlake/core/context"
22
24
"github.com/apache/incubator-devlake/core/errors"
23
25
"github.com/apache/incubator-devlake/core/models/common"
24
26
"github.com/apache/incubator-devlake/core/models/domainlayer"
25
27
"github.com/apache/incubator-devlake/core/models/domainlayer/code"
26
28
"github.com/apache/incubator-devlake/core/models/domainlayer/crossdomain"
27
29
helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
28
- "reflect"
29
30
)
30
31
31
32
const BathSize = 100
@@ -87,7 +88,7 @@ func (d *Database) Commits(commit *code.Commit) errors.Error {
87
88
if err != nil {
88
89
return err
89
90
}
90
- d .updateRawDataFields (& account .RawDataOrigin )
91
+ d .updateRawDataFields (& commit .RawDataOrigin )
91
92
return commitBatch .Add (commit )
92
93
}
93
94
You can’t perform that action at this time.
0 commit comments