Manos Chorianopoulos

change VERIFY_URL

......@@ -20,6 +20,7 @@ NSString *MERCHANT_ID;
NSString *LANG;
NSDate *date;
CMPedometer *pedometer;
NSString *VERIFY_URL = @"/partners/cosmote/verify";
- (void)initialize:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang{
#if (DEBUG == 1)
......
......@@ -28,11 +28,13 @@
//#define WARP_PRODUCTION_BASE_URL @"https://engage-stage.warp.ly"
//#define WARP_HOST @"engage-stage.warp.ly"
//#define WARP_ERROR_DOMAIN @"engage-stage.warp.ly"
//#define VERIFY_URL @"/partners/cosmote/verify"
extern NSString* WARP_PRODUCTION_BASE_URL;
extern NSString* WARP_HOST;
extern NSString* WARP_ERROR_DOMAIN;
extern NSString* MERCHANT_ID;
extern NSString* LANG;
extern NSString* VERIFY_URL;
#define WARP_PAGE_URL_FORMAT @"%@/api/session/%@"
#define WARP_IMAGE_URL_FORMAT @"%@/api/session/logo/%@"
......
......@@ -4026,7 +4026,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
failureBlock:(void (^)(NSError *error))failureBlock
{
//Create REQUEST
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/partners/gapp/verify", _baseURL];
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@%@", _baseURL, VERIFY_URL]; // /partners/cosmote/verify
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
......