API Wrapper code - not used? #1

Closed
opened 2018-07-10 22:13:37 +00:00 by jon · 2 comments

I'm looking at CRM_AddressFormat_APIWrapper code. It looks like on an API call to AddressFormat.create, it looks for the presence of the country_id field. However, that API will never return that field - so is this code that can be removed?

I'm looking at `CRM_AddressFormat_APIWrapper` code. It looks like on an API call to AddressFormat.create, it looks for the presence of the `country_id` field. However, that API will never return that field - so is this code that can be removed?
Author

Never mind - I figured it out.

Never mind - I figured it out.
jon closed this issue 2018-07-10 22:16:24 +00:00
Owner

Yes, Its when you pass country_id as a parameter in Address Format api.

Yes, Its when you pass country_id as a parameter in Address Format api.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: CiviWare/com.megaphonetech.addressl10n#1
No description provided.