Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change type of customFieldId to String #3

Merged
merged 5 commits into from
May 16, 2018

Conversation

rashiq
Copy link

@rashiq rashiq commented May 16, 2018

No description provided.

@@ -247,16 +247,25 @@ public void deleteProduct(final Integer productId) {
delete(webTarget, Object.class);
}

public void deleteProductCustomField(final Integer productId, final Integer customFieldId) {
public void deleteProductCustomField(final Integer productId, final String customFieldId) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be Integer

final WebTarget webTarget = baseWebTargetV3
.path(CATALOG)
.path(PRODUCTS)
.path(String.valueOf(productId))
.path(CUSTOM_FIELDS_PATH)
.path(String.valueOf(customFieldId));
.path(customFieldId);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert

Copy link
Owner

@brachetti brachetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brachetti brachetti merged commit 41e03aa into brachetti:additions May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants