veda-consulting-company / uk.co.vedaconsulting.outlookapi

Other
4 stars 18 forks source link

Fix the API bug that cause Outlook plugin fail to sync #66

Open agileware-pengyi opened 5 years ago

agileware-pengyi commented 5 years ago

Before

PHP die and the API returns nothing. This cause the sync on Outlook failed. When syncing in Outlook, some custom fields will clash the process.

After

Corrects the function call, so the API will return the result. Adds prefix to the name of custom fields in the return values to prevent name clash.

Note

Change the pattern of the result into the format of Civi APIv3. This change doesn't affect the Outlook plugin.

Agileware ref: CIVIOLK-1