File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export function urlBuilder(
3737 'Incorrect type for port passed in!'
3838 ) ;
3939 }
40- return `${ baseUrl } /v1beta /projects/${ project } /locations/${ location } /services/${ service } /connectors/${ connector } ` ;
40+ return `${ baseUrl } /v1 /projects/${ project } /locations/${ location } /services/${ service } /connectors/${ connector } ` ;
4141}
4242export function addToken ( url : string , apiKey ?: string ) : string {
4343 if ( ! apiKey ) {
Original file line number Diff line number Diff line change 1- specVersion : " v1beta "
1+ specVersion : " v1 "
22serviceId : " fdc-service"
33location : " us-west2"
44schema :
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ describe('GMPID Tests', () => {
5353 // @ts -ignore
5454 await executeQuery ( queryRef ( dc , '' ) ) . catch ( ( ) => { } ) ;
5555 expect ( fakeFetchImpl ) . to . be . calledWithMatch (
56- 'https://firebasedataconnect.googleapis.com/v1beta /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
56+ 'https://firebasedataconnect.googleapis.com/v1 /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
5757 {
5858 headers : {
5959 [ 'x-firebase-gmpid' ] : APPID
@@ -71,7 +71,7 @@ describe('GMPID Tests', () => {
7171 // @ts -ignore
7272 await executeQuery ( queryRef ( dc2 , '' ) ) . catch ( ( ) => { } ) ;
7373 expect ( fakeFetchImpl ) . to . be . calledWithMatch (
74- 'https://firebasedataconnect.googleapis.com/v1beta /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
74+ 'https://firebasedataconnect.googleapis.com/v1 /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
7575 {
7676 headers : {
7777 [ 'x-firebase-gmpid' ] : APPID
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('User Agent Tests', () => {
5454 // @ts -ignore
5555 await executeQuery ( queryRef ( dc , '' ) ) . catch ( ( ) => { } ) ;
5656 expect ( fakeFetchImpl ) . to . be . calledWithMatch (
57- 'https://firebasedataconnect.googleapis.com/v1beta /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
57+ 'https://firebasedataconnect.googleapis.com/v1 /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
5858 {
5959 headers : {
6060 [ 'X-Goog-Api-Client' ] : 'gl-js/ fire/' + SDK_VERSION + ' js/gen'
@@ -66,7 +66,7 @@ describe('User Agent Tests', () => {
6666 // @ts -ignore
6767 await executeQuery ( queryRef ( dc , '' ) ) . catch ( ( ) => { } ) ;
6868 expect ( fakeFetchImpl ) . to . be . calledWithMatch (
69- 'https://firebasedataconnect.googleapis.com/v1beta /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
69+ 'https://firebasedataconnect.googleapis.com/v1 /projects/p/locations/l/services/s/connectors/c:executeQuery' ,
7070 {
7171 headers : {
7272 [ 'X-Goog-Api-Client' ] : 'gl-js/ fire/' + SDK_VERSION
You can’t perform that action at this time.
0 commit comments