if-then-else necessary in order to return a different output depending on a service response
Merge pull request #1 from arialdomartini/master

if-then-else necessary in order to return a different output depending on a service response