Skip to content

Commit

Permalink
fix(import): file md5 is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
crispgm committed Oct 29, 2023
1 parent 2615527 commit 34ad11c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/kicker-cli/cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ var importCmd = &cobra.Command{
errorMessageAndExit("Duplicated event found:", e.ID)
}
}
event.MD5 = md5
err = util.CopyFile(importPath, filepath.Join(instance.DataPath(), fn))
if err != nil {
errorMessageAndExit(err)
Expand Down

0 comments on commit 34ad11c

Please sign in to comment.