lovinghouston / lwcgoogleplacesbutton

Adds a Lightning Web Component to create Google Place Listings (currently hardcoded to type "church") as a Salesforce object (currently hardcoded to a custom object named Church_School_Partnership__c).
3 stars 1 forks source link

Remove API Key #61

Closed sungysang closed 4 years ago

sungysang commented 4 years ago

Removed hardcoded API Key and querying custom metadata types now. This key can be found here: https://lovinghouston--partial.lightning.force.com/lightning/setup/CustomMetadata/page?address=%2Fm0B%3Fsetupid%3DCustomMetadata . Also hardcoded type Church into Google API search since it was pulling this from the LWC type, which is now dynamically pulled and no longer results in valid searches. Increased Radius to allow for more adequate results.

sungysang commented 4 years ago

@Julian88Tex Please review this before #59 Sorry for all the dependent PRs.

The order should be #61 --> #59 --> #58