Releases: slakbal/gotowebinar
Enhanced behaviour on when a resource already exist
-
Some Basic clean-up of unused code.
-
When a resource already exists and a duplicate error is thrown by the API it also returns the resource. Instead of throwing an error, the package also returns the resource back. This is then behaving like a findOrCreate.
elseif ($response->code == 409) { //If the user is already registered, return the body
return $response->body;
}
- Added more logging info for better transparency if the call actually went out to the Goto API.
Upgraded to new dependency
v6.0.1 Updated dependencies
Upgraded to Laravel 6 support
v6.0.0 Update Dependency versions
v2.0.1
v2.0
Updated test routes with compatible timezone codes
Updated test routes with compatible timezone codes
Solved timezone-codes incompatibility issue
Laravel timezones (php standard) are not compatible with GotoWebinar timezone-codes. See GotoWebinar Timezone Codes for list of codes. User should rather pass the code in the request body. It is an optional field. If this parameter is not passed, the timezone of the organizer's profile on GotoWebinar will be used.
Locale issue resolved
The locale was not passed correctly to the API thus all emails were sent in English instead of the passed locale language.
Add getSessionQuestions
getSessionQuestions was added
Code optimisations
Code was restructured a bit and path building was optimised a bit