Skip to content

Commit

Permalink
Fix a regression introduced by PR #68
Browse files Browse the repository at this point in the history
  • Loading branch information
hideya committed Dec 5, 2015
1 parent 8c663bd commit a39ea87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LoopBack/LBContainer.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ - (void)createContainerWithName:(NSString*)name
failure:(SLFailureBlock)failure {
NSParameterAssert(name);
[self invokeStaticMethod:@"create"
parameters:@{@"name": name}
parameters:nil
bodyParameters:@{@"name": name}
success:^(id value) {
NSAssert([[value class] isSubclassOfClass:[NSDictionary class]], @"Received non-Dictionary: %@", value);
LBContainer *container = (LBContainer*)[self modelWithDictionary:(NSDictionary*)value];
Expand Down

0 comments on commit a39ea87

Please sign in to comment.