Skip to content

Commit

Permalink
Merge pull request #15 from ghvg1313/bugfix/add-is-recommend
Browse files Browse the repository at this point in the history
Add isrecommended to parameters
  • Loading branch information
austimkelly authored Sep 29, 2016
2 parents 3db926e + 139910a commit e2bac38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BVSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Pod::Spec.new do |s|
s.name = "BVSDK"
s.version = '4.2.2'
s.version = '4.2.3'
s.homepage = 'https://developer.bazaarvoice.com'
s.license = { :type => 'Commercial', :text => 'See https://developer.bazaarvoice.com/API_Terms_of_Use' }
s.author = { 'Bazaarvoice' => '[email protected]' }
Expand Down
4 changes: 2 additions & 2 deletions Pod/BVCommon/BVCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#include "BVErrorCodeConstants.h"

/// Provides the master version of the SDK.
#define BV_SDK_VERSION @"4.2.2"
#define BV_SDK_VERSION @"4.2.3"

/// Conversation SDK Version
#define SDK_HEADER_NAME @"X-UA-BV-SDK"
#define SDK_HEADER_VALUE @"IOS_SDK_V422"
#define SDK_HEADER_VALUE @"IOS_SDK_V423"

/// Error domain for NSError results, when present.
#define BVErrDomain @"com.bvsdk.bazaarvoice"
Expand Down
4 changes: 4 additions & 0 deletions Pod/BVConversations/Submission/Review/BVReviewSubmission.m
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ -(nonnull NSDictionary*)createSubmissionParameters:(BVSubmissionAction)BVSubmiss

parameters[@"fp"] = self.fingerPrint;

if (self.isRecommended != nil){
parameters[@"isrecommended"] = [self.isRecommended boolValue] == YES ? @"true" : @"false";
}

parameters[@"user"] = self.user;
parameters[@"usernickname"] = self.userNickname;
parameters[@"useremail"] = self.userEmail;
Expand Down

0 comments on commit e2bac38

Please sign in to comment.