Skip to content

Commit

Permalink
Merge pull request #52 from ibilux/patch-1
Browse files Browse the repository at this point in the history
add `fields` to place details query
  • Loading branch information
EQuimper authored Dec 20, 2024
2 parents fd8ab68 + cdf1a60 commit 535bfe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/google.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class GoogleService {

public static async searchDetails(
placeid: string,
query: Query
query: Query & { fields?: string }
): Promise<GoogleLocationDetailResult> {
const url = `${BASE_URL}/details/json?${queryString.stringify({
...normalizeQuery(query),
Expand Down

0 comments on commit 535bfe3

Please sign in to comment.