Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
ff54d47c
Commit
ff54d47c
authored
May 12, 2016
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove assert from private method.
parent
6b7ed437
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
BUYClient.m
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient.m
+0
-2
No files found.
Mobile Buy SDK/Mobile Buy SDK/Data/BUYClient.m
View file @
ff54d47c
...
...
@@ -347,8 +347,6 @@ NSString *const BUYClientCustomerAccessToken = @"X-Shopify-Customer-Access-Token
-
(
NSURLSessionDataTask
*
)
postCheckout
:
(
NSDictionary
*
)
checkoutJSON
completion
:
(
BUYDataCheckoutBlock
)
block
{
NSData
*
data
=
[
NSJSONSerialization
dataWithJSONObject
:
checkoutJSON
options
:
0
error
:
nil
];
NSAssert
(
data
,
@"Failed to post checkout. Could not serialize JSON payload. Possibly invalid checkout object."
);
NSURLComponents
*
components
=
[
self
URLComponentsForCheckoutsAppendingPath
:
nil
checkoutToken
:
nil
queryItems
:
nil
];
return
[
self
postRequestForURL
:
components
.
URL
body
:
data
completionHandler
:^
(
NSDictionary
*
json
,
NSURLResponse
*
response
,
NSError
*
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment