Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
crab85193 committed Dec 18, 2023
1 parent 02b00c5 commit ceaef9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google_api_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def download_place_photo(self, photo_reference, file_name=None):

def get_store_photo_url(self, photo_reference, place_id):
self.download_place_photo(photo_reference, place_id)
return f"{os.environ.get('IMAGE_SERVER_PROTOCOL')}://{os.environ.get('IMAGE_SERVER_ADDRESS')}/static/{place_id}.jpg"
return f"//{os.environ.get('IMAGE_SERVER_ADDRESS')}/static/{place_id}.jpg"

def search_store(self, keyword):
location = geocoder.ip('me').latlng
Expand Down

0 comments on commit ceaef9b

Please sign in to comment.