Skip to content

Commit 8c96e13

Browse files
committed
Remove indentation in Vertex AI API Not Enabled Error
1 parent a97ac88 commit 8c96e13

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/vertexai/src/requests/request.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ export async function makeRequest(
166166
) {
167167
throw new VertexAIError(
168168
VertexAIErrorCode.API_NOT_ENABLED,
169-
`The Vertex AI in Firebase SDK requires the Vertex AI in Firebase
170-
API ('firebasevertexai.googleapis.com') to be enabled in your
171-
Firebase project. Enable this API by visiting the Firebase Console
172-
at https://console.firebase.google.com/project/${url.apiSettings.project}/genai/
173-
and clicking "Get started". If you enabled this API recently,
174-
wait a few minutes for the action to propagate to our systems and
175-
then retry.`,
169+
`The Vertex AI in Firebase SDK requires the Vertex AI in Firebase ` +
170+
`API ('firebasevertexai.googleapis.com') to be enabled in your ` +
171+
`Firebase project. Enable this API by visiting the Firebase Console ` +
172+
`at https://console.firebase.google.com/project/${url.apiSettings.project}/genai/ ` +
173+
`and clicking "Get started". If you enabled this API recently, ` +
174+
`wait a few minutes for the action to propagate to our systems and ` +
175+
`then retry.`,
176176
{
177177
status: response.status,
178178
statusText: response.statusText,

0 commit comments

Comments
 (0)