nativescript-community / https

Secure HTTP client with SSL pinning for Nativescript - iOS/Android
https://nativescript-community.github.io/https/
Other
50 stars 42 forks source link

fixing typo in AFSuccess function #40

Closed rhclayto closed 5 years ago

rhclayto commented 5 years ago

Should be data.class() rather than data.class.

roblav96 commented 5 years ago

@rhclayto This should not be data.class() because if the class method does not exist it would throw error.

rhclayto commented 5 years ago

Right you are. I didn't realize you could check for a method the same way you can check for a property either.