diff --git a/cmd/rpdata-as2storyimport/main.go b/cmd/rpdata-as2storyimport/main.go index bbd6199..e62817b 100644 --- a/cmd/rpdata-as2storyimport/main.go +++ b/cmd/rpdata-as2storyimport/main.go @@ -78,7 +78,7 @@ func main() { } } - story, err := story.New(result.Name, result.Author, result.Category, false, false, tags, publishDate, fictionalDate) + story, err := story.New(result.Name, result.Author[5:], result.Category, false, false, tags, publishDate, fictionalDate) if err != nil { log.Fatalln(err) } @@ -96,7 +96,7 @@ func main() { } } - chapter, err := story.AddChapter(title, result.Author, result.Source, publishDate, fictionalDate) + chapter, err := story.AddChapter(title, result.Author[5:], result.Source, publishDate, fictionalDate) if err != nil { log.Fatalln(err) }