MeltwaterArchive / datasift-dotnet

The official .NET API library for DataSift.
MIT License
12 stars 6 forks source link

Unsubscribe a stream tries to subscribe instead #17

Closed rippo closed 9 years ago

rippo commented 9 years ago

In DataSiftStream.cs the code should be

var message = new { action = "unsubscribe", hash = hash };

and not

var message = new { action = "subscribe", hash = hash };

https://github.com/datasift/datasift-dotnet/blob/rewrite/DataSift/Streaming/DataSiftStream.cs#L157

richcaudle commented 9 years ago

Thanks @rippo for picking this up. I've now fixed the error and released the library to Nuget as version 1.0.2.