diff --git a/docs/content/getting-started.md b/docs/content/getting-started.md index fdf75dd4df..292ac856e5 100644 --- a/docs/content/getting-started.md +++ b/docs/content/getting-started.md @@ -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