File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export class OpenCageServer {
9494 ` Timezone: ${ r . timezone . name } \n` +
9595 ` Currency: ${ r . currency . name } (${ r . currency . iso_code } )` )
9696 . join ( '\n\n' ) } ` +
97- `\n\nLink to the full API response:\n${ url } \nCopy/paste this link to view the full response. ` ,
97+ `\n\nThe full API response:\n${ JSON . stringify ( data , null , 2 ) } ` ,
9898 } ,
9999 ] ,
100100 } ;
@@ -164,7 +164,7 @@ export class OpenCageServer {
164164 `Flag: ${ info . flag } \n` +
165165 `Timezone: ${ info . timezone . name } \n` +
166166 `Currency: ${ info . currency . name } (${ info . currency . iso_code } )\n` +
167- `\n\nLink to the full API response:\n${ url } \nCopy/paste this link to view the full response. ` ,
167+ `\n\nThe full API response:\n${ JSON . stringify ( data , null , 2 ) } ` ,
168168 } ,
169169 ] ,
170170 } ;
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ export class OpenCageServer {
164164 ` Currency: ${ r . currency . name } (${ r . currency . iso_code } )` ,
165165 )
166166 . join ( '\n\n' ) } ` +
167- `\n\nLink to the full API response:\n${ url } \nCopy/paste this link to view the full response. ` ,
167+ `\n\nThe full API response:\n${ JSON . stringify ( data , null , 2 ) } ` ,
168168 } ,
169169 ] ,
170170 } ;
@@ -245,7 +245,7 @@ export class OpenCageServer {
245245 `Flag: ${ info . flag } \n` +
246246 `Timezone: ${ info . timezone . name } \n` +
247247 `Currency: ${ info . currency . name } (${ info . currency . iso_code } )\n` +
248- `\n\nLink to the full API response:\n${ url } \nCopy/paste this link to view the full response. ` ,
248+ `\n\nThe full API response:\n${ JSON . stringify ( data , null , 2 ) } ` ,
249249 } ,
250250 ] ,
251251 } ;
You can’t perform that action at this time.
0 commit comments