Fixed log service bugs with importing and character list not updating.
the build was successful

This commit is contained in:
2019-08-14 11:28:02 +02:00
parent c0687d76ad
commit 51b2c9bfe0
10 changed files with 32 additions and 417 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ func (r *postRepository) InsertMany(ctx context.Context, posts ...*models.Post)
}
logId := posts[0].LogID
for _, post := range posts[1:] {
for _, post := range posts {
if post.LogID != logId {
return nil, repositories.ErrParentMismatch
}