Skip to content

Commit 535bfe3

Browse files
authored
Merge pull request #52 from ibilux/patch-1
add `fields` to place details query
2 parents fd8ab68 + cdf1a60 commit 535bfe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/services/google.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export class GoogleService {
137137

138138
public static async searchDetails(
139139
placeid: string,
140-
query: Query
140+
query: Query & { fields?: string }
141141
): Promise<GoogleLocationDetailResult> {
142142
const url = `${BASE_URL}/details/json?${queryString.stringify({
143143
...normalizeQuery(query),

0 commit comments

Comments
 (0)