fix import bug and add ref support (#88)

* fix import bug and add ref support

* fix calls

* add docs
This commit is contained in:
Hayden 2022-10-15 17:46:57 -08:00 committed by GitHub
parent 5596740cd2
commit dbaaf4ad0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 118 additions and 57 deletions

View file

@ -52,7 +52,7 @@ func (a *app) SetupDemo() {
log.Fatal().Msg("Failed to setup demo")
}
err = a.services.Items.CsvImport(context.Background(), self.GroupID, records)
_, err = a.services.Items.CsvImport(context.Background(), self.GroupID, records)
if err != nil {
log.Err(err).Msg("Failed to import CSV")
log.Fatal().Msg("Failed to setup demo")