feature/fitlien-cashfree #11
@ -7,5 +7,5 @@ TWILIO_PHONE_NUMBER=#{TWILIO_PHONE_NUMBER}#
|
||||
SERVICES_RGN=#{SERVICES_RGN}#
|
||||
CASHFREE_CLIENT_ID=#{CASHFREE_CLIENT_ID}#
|
||||
CASHFREE_CLIENT_SECRET=#{CASHFREE_CLIENT_SECRET}#
|
||||
GOOGLE_PLACES_API_KEY=#{GOOGLE_PLACES_API_KEY}#
|
||||
GOOGLE_MAPS_API_KEY=#{GOOGLE_MAPS_API_KEY}#
|
||||
|
||||
|
||||
@ -526,7 +526,7 @@ export const getPlacesAutocomplete = onRequest({
|
||||
return;
|
||||
}
|
||||
|
||||
const apiKey = process.env.GOOGLE_PLACES_API_KEY;
|
||||
const apiKey = process.env.GOOGLE_MAPS_API_KEY;
|
||||
if (!apiKey) {
|
||||
logger.error('Google Places API key is not configured');
|
||||
response.status(500).json({ error: 'Server configuration error' });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user