Skip to content

Commit

Permalink
Merge pull request #50 from deanblackborough/main
Browse files Browse the repository at this point in the history
Registered via
  • Loading branch information
deanblackborough authored Oct 12, 2023
2 parents e23981f + 8d02d5a commit d333ca3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The complete changelog for the Costs to Expect REST API, our changelog follows the format defined at https://keepachangelog.com/en/1.0.0/

## [1.11.0] - [2023-10-12]
### Changed
- Added `registered_via` so the API can see where an account began.

## [1.10.0] - [2023-08-26]
### Added
- Added full account deletion.
Expand Down
3 changes: 2 additions & 1 deletion app/Api/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ public function register(array $payload): array
$uri['uri'],
[
'name' => $payload['name'],
'email' => $payload['email']
'email' => $payload['email'],
'registered_via' => 'yahtzee',
]
);
}
Expand Down
4 changes: 2 additions & 2 deletions config/app/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
'error_email' => env('ERROR_EMAIL'),
'cookie_user' => env('SESSION_NAME_USER'),
'cookie_bearer' => env('SESSION_NAME_BEARER'),
'version' => '1.10.0',
'release_date' => '26th August 2023'
'version' => '1.11.0',
'release_date' => '12th October 2023'
];

0 comments on commit d333ca3

Please sign in to comment.