Fixed megacheck linter complaints

This commit is contained in:
2018-06-30 16:50:53 +09:00
parent 1580e290e8
commit 3a46507196
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ func Get(ctx *aero.Context) string {
// Fetch posts
postObjects := arn.DB.GetMany("Post", thread.Posts)
posts := make([]*arn.Post, len(postObjects), len(postObjects))
posts := make([]*arn.Post, len(postObjects))
for i, obj := range postObjects {
posts[i] = obj.(*arn.Post)