Skip to content

Commit

Permalink
SMC-120 Quote DE Key in expression when selecting rows
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Kurochkin committed Apr 1, 2020
1 parent 717bc38 commit 91c46ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/exacttarget/fuelsdk/ETDataExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public ETResponse<ETDataExtensionRow> select(Integer page,
if (filter.getProperties().isEmpty()) {
filter.setProperties(getColumnNames());
}
return ETDataExtension.select(getClient(), "key=" + getKey(), page, pageSize, filter);
return ETDataExtension.select(getClient(), "key=\"" + getKey() + "\"", page, pageSize, filter);
}

public ETResponse<ETDataExtensionRow> select(Integer page,
Expand Down Expand Up @@ -604,7 +604,7 @@ public ETResponse<ETDataExtensionRow> select(ETFilter filter,
if (f.getProperties().isEmpty()) {
f.setProperties(getColumnNames());
}
return ETDataExtension.select(getClient(), "key=" + getKey(), page, pageSize, f);
return ETDataExtension.select(getClient(), "key=\"" + getKey() + "\"", page, pageSize, f);
}

/**
Expand Down

0 comments on commit 91c46ee

Please sign in to comment.