googleapis / googleapis/google-cloud-node
[Google Maps Places API] - Text Search missing next_page_token in response
Aperta
@sofisl ci sta già lavorando.
Dal 18/7/2024.
size: m
type: bug
- Lingua principale
- TypeScript
- Stelle
- 3.2k
- Fork
- 713
- Merge medio
- 2g 9h
- PR unite (30g)
- 104
Descrizione
- which product (packages/*): packages/google-maps-places
- OS: OSX
- Node.js version: 21.7.2
- npm version: 10.6.0
- google-cloud-node version:Place2 1.6.0
Steps to reproduce
- npm i @googlemap/places
const {PlacesClient} = require('@googlemaps/places').v1;
let response = await placesClient.searchText(textQuery: 'something', {
otherArgs: {
headers: {
'x-Goog-FieldMask': 'places.displayName',
},}});
console.log(response);
/*
response:
[
{
places: [
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object]
],
contextualContents: []
},
null,
null
]
I would expect something like:
[
{
places: [
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object], [Object],
[Object], [Object]
],
contextualContents: [],
nextPageToken: ''
},
null,
null
]
*/
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.