Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalshirke7 authored Oct 23, 2018
1 parent 8dffd9d commit 967df03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passengerAPI/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class GetListOfAvailableCab(APIView):
def post(self, request, format=None):
serializer = GetAvailableCabSerializer(data=request.data)
if serializer.is_valid(raise_exception=True):
gmaps = googlemaps.Client(key='AIzaSyA6vUErWEUlI8co4Qj5k4M6C3Efg5Wp6wY')
gmaps = googlemaps.Client(key='AIzaSyAOgj3TyH_vnb2ruto_A44YF8onzkzcoYc')
request.session['source_address'] = request.data['Source_address']
request.session['destination_address'] = request.data['Destination_address']
geocode_result = gmaps.geocode(request.data['Source_address'])
Expand Down

0 comments on commit 967df03

Please sign in to comment.