Skip to content

Commit

Permalink
Fixes #23 - was missing 'this' prefix for extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
ctolkien committed Nov 30, 2017
1 parent 1afd4ce commit 52994b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinyPNG/Extensions/ImageDataExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public async static Task SaveImageToDisk<T>(this Task<T> result, string filePath
/// <param name="result">The result from compress</param>
/// <param name="filePath">The path to store the file</param>
/// <returns></returns>
public async static Task SaveImageToDisk(TinyPngImageResponse result, string filePath)
public async static Task SaveImageToDisk(this TinyPngImageResponse result, string filePath)
{
var byteData = await result.GetImageByteData();
File.WriteAllBytes(filePath, byteData);
Expand Down

0 comments on commit 52994b0

Please sign in to comment.