Skip to content

Commit

Permalink
Merge pull request #52 from zendesk/strus/added-on
Browse files Browse the repository at this point in the history
Add possibility to set deal's 'added_on' attribute
  • Loading branch information
struniu authored Jun 29, 2021
2 parents 427db88 + 4052111 commit ffa390e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## CHANGELOG

### v1.4.4 (2021-06-28)

**Features and Improvements**
* Added possibility to set deal's 'added_on' attribute

### v1.4.3 (2020-04-22)

* Update license to Apache License 2.0
Expand Down
4 changes: 2 additions & 2 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

class Configuration
{
// @version 1.4.3 Current stable version.
const VERSION = "1.4.3";
// @version 1.4.4 Current stable version.
const VERSION = "1.4.4";

const PRODUCTION_URL = "https://api.getbase.com";
const URL_REGEXP = "/\b(?:(?:https?|http):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i";
Expand Down
2 changes: 1 addition & 1 deletion lib/DealsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class DealsService
{
// @var array Allowed attribute names.
protected static $keysToPersist = ['contact_id', 'currency', 'custom_fields', 'hot', 'loss_reason_id', 'name', 'owner_id', 'source_id', 'stage_id', 'last_stage_change_at', 'tags', 'value', 'estimated_close_date', 'customized_win_likelihood'];
protected static $keysToPersist = ['contact_id', 'currency', 'custom_fields', 'hot', 'loss_reason_id', 'name', 'owner_id', 'source_id', 'stage_id', 'last_stage_change_at', 'tags', 'value', 'estimated_close_date', 'customized_win_likelihood', 'added_on'];

protected $httpClient;

Expand Down

0 comments on commit ffa390e

Please sign in to comment.