File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
import { FirebaseApp , getApp , _getProvider } from '@firebase/app' ;
19
19
import { Provider } from '@firebase/component' ;
20
20
import { getModularInstance } from '@firebase/util' ;
21
- import { VERTEX_TYPE } from './constants' ;
21
+ import { DEFAULT_LOCATION , VERTEX_TYPE } from './constants' ;
22
22
import { VertexService } from './factory' ;
23
23
import { Vertex , VertexOptions } from './public-types' ;
24
24
import { ERROR_FACTORY , VertexError } from './errors' ;
@@ -51,7 +51,7 @@ export function getVertex(
51
51
const vertexProvider : Provider < 'vertex' > = _getProvider ( app , VERTEX_TYPE ) ;
52
52
53
53
return vertexProvider . getImmediate ( {
54
- identifier : options ?. location || 'DEFAULT'
54
+ identifier : options ?. location || DEFAULT_LOCATION
55
55
} ) ;
56
56
}
57
57
You can’t perform that action at this time.
0 commit comments