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(
37
37
'Incorrect type for port passed in!'
38
38
) ;
39
39
}
40
- return `${ baseUrl } /v1beta /projects/${ project } /locations/${ location } /services/${ service } /connectors/${ connector } ` ;
40
+ return `${ baseUrl } /v1 /projects/${ project } /locations/${ location } /services/${ service } /connectors/${ connector } ` ;
41
41
}
42
42
export function addToken ( url : string , apiKey ?: string ) : string {
43
43
if ( ! apiKey ) {
Original file line number Diff line number Diff line change 1
- specVersion : " v1beta "
1
+ specVersion : " v1 "
2
2
serviceId : " fdc-service"
3
3
location : " us-west2"
4
4
schema :
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ describe('GMPID Tests', () => {
53
53
// @ts -ignore
54
54
await executeQuery ( queryRef ( dc , '' ) ) . catch ( ( ) => { } ) ;
55
55
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' ,
57
57
{
58
58
headers : {
59
59
[ 'x-firebase-gmpid' ] : APPID
@@ -71,7 +71,7 @@ describe('GMPID Tests', () => {
71
71
// @ts -ignore
72
72
await executeQuery ( queryRef ( dc2 , '' ) ) . catch ( ( ) => { } ) ;
73
73
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' ,
75
75
{
76
76
headers : {
77
77
[ 'x-firebase-gmpid' ] : APPID
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('User Agent Tests', () => {
54
54
// @ts -ignore
55
55
await executeQuery ( queryRef ( dc , '' ) ) . catch ( ( ) => { } ) ;
56
56
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' ,
58
58
{
59
59
headers : {
60
60
[ 'X-Goog-Api-Client' ] : 'gl-js/ fire/' + SDK_VERSION + ' js/gen'
@@ -66,7 +66,7 @@ describe('User Agent Tests', () => {
66
66
// @ts -ignore
67
67
await executeQuery ( queryRef ( dc , '' ) ) . catch ( ( ) => { } ) ;
68
68
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' ,
70
70
{
71
71
headers : {
72
72
[ 'X-Goog-Api-Client' ] : 'gl-js/ fire/' + SDK_VERSION
You can’t perform that action at this time.
0 commit comments