setted the s3 end point based on s3 upload flag for get workspace api
Merge pull request #850 from sheebans/master

setted the s3 end point based on s3 upload flag for get workspace api