From 9b7254e1e513cd91dc6817374294d957f97920be Mon Sep 17 00:00:00 2001 From: "Suresh, Kamlesh" Date: Fri, 10 May 2019 16:05:38 -0400 Subject: [PATCH] sharedInstance --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m index bc0cbae..5bf2864 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadHandler.m @@ -293,7 +293,7 @@ - (nullable NSURLSessionTask *)sendRequest:(nonnull MVMCoreRequestParameters *)requestParameters locationForError:(nonnull NSString *)locationForError requestFinished:(nullable void (^)(id _Nullable jsonObject, MVMCoreErrorObject *_Nullable error))requestFinished { #if ENABLE_HARD_CODED_RESPONSE - NSDictionary *response = [[MFHardCodedServerResponse new] getHardCodedResponseForRequest:requestParameters]; + NSDictionary *response = [[MFHardCodedServerResponse sharedInstance] getHardCodedResponseForRequest:requestParameters]; if (response) { if (requestFinished) { requestFinished(response, nil);