Skip to content

Commit

Permalink
Merge pull request #225 from rongfengliang/patch-1
Browse files Browse the repository at this point in the history
Update getting-started.md
  • Loading branch information
vektah committed Jul 25, 2018
2 parents 8714f7f + 0dfb92a commit 7226e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (a *mutationResolver) CreateTodo(ctx context.Context, input model.NewTodo)
todo := model.Todo{
Text: input.Text,
ID: fmt.Sprintf("T%d", rand.Int()),
UserID: input.User,
UserID: input.UserId,
}
a.todos = append(a.todos, todo)
return todo, nil
Expand Down

0 comments on commit 7226e57

Please sign in to comment.