Skip to content

Commit

Permalink
fix: business_status placessearchfieldmask (#285)
Browse files Browse the repository at this point in the history
* FIXES: Issue #284

* fix: business_status placessearchfieldmask
  • Loading branch information
shaunmitchellve committed May 31, 2023
1 parent ceb4fc3 commit 4bd8457
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,8 @@ const (
// PlaceSearchFieldMask.
func ParsePlaceSearchFieldMask(placeSearchFieldMask string) (PlaceSearchFieldMask, error) {
switch strings.ToLower(placeSearchFieldMask) {
case "business_status":
return PlaceSearchFieldMaskBusinessStatus, nil
case "formatted_address":
return PlaceSearchFieldMaskFormattedAddress, nil
case "geometry":
Expand Down

0 comments on commit 4bd8457

Please sign in to comment.