prooph / event-store-http-client

PHP 7.2 Event Store HTTP Client Implementation
BSD 3-Clause "New" or "Revised" License
25 stars 5 forks source link

Bug in deletePersistentSubscription #15

Closed enumag closed 5 years ago

enumag commented 5 years ago

I'm not sure how to fix this... when using deletePersistentSubscription I got an exception Unknown enum name given thrown here.

It was called from here but the value of $json['result'] is 'DoesNotExist' instead of the two expected values.

I'd send a PR but I'm not exactly sure what to do.

enumag commented 5 years ago

Btw. for enums I've good experience with this library.