```ruby
module Notes
  class CreateService < BaseService
    def execute
      note = project.notes.new(params[:note])
      note.author = current_user
      note.save
      note
    end
  end
end
```

Make sure note.system is false if created by user
user
```ruby
module Notes
  class CreateService < BaseService
    def execute
      note = project.notes.new(params[:note])
      note.author = current_user
      note.system = false
      note.save
      note
    end
  end
end
```
assistant