diff --git a/ruby_event_store/lib/ruby_event_store/projection.rb b/ruby_event_store/lib/ruby_event_store/projection.rb index 85f0b1d06a..755872b157 100644 --- a/ruby_event_store/lib/ruby_event_store/projection.rb +++ b/ruby_event_store/lib/ruby_event_store/projection.rb @@ -4,7 +4,7 @@ module RubyEventStore class Projection private_class_method :new - def initialize(initial_state = nil, event_type_resolver) + def initialize(initial_state, event_type_resolver) @handlers = {} @event_type_resolver = event_type_resolver @init = -> { initial_state }