change type of resultCode (string => ResultCode object)

1 job for 107-issue-n-trial in 2 minutes and 29 seconds