Skip to content

Commit

Permalink
fix: Add NOT_FOUND to the status enum according to documentation (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCB authored May 13, 2020
1 parent 589e0e9 commit 0fc3fb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ export enum Status {
UNKNOWN_ERROR = "UNKNOWN_ERROR",
/** indicates that the request was successful but returned no results. */
ZERO_RESULTS = "ZERO_RESULTS",
/** indicates that the referenced location (place_id) was not found in the Places database. */
NOT_FOUND = "NOT_FOUND",
}

export interface PlacePhoto {
Expand Down

0 comments on commit 0fc3fb0

Please sign in to comment.