Skip to content

Commit 3902624

Browse files
Merge branch 'swa/db-connection' of https://github.com/craigshoemaker/azure-docs-pr into swa/db-connection
2 parents f412198 + f849b3b commit 3902624

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

articles/static-web-apps/database-azure-cosmosdb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ async function get() {
363363
const gql = `
364364
query getById($id: Int!) {
365365
person_by_pk(id: $id) {
366-
Id
366+
id
367367
Name
368368
}
369369
}`;

articles/static-web-apps/static-web-apps-cli.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,10 @@ directCommands:
177177
178178
To start your application with a [database connection](database-overview.md), use the `--data-api-location` parameter and point to the folder containing the *staticwebapp.database.config.json* file.
179179
180-
```azstatic-cli
181-
swa start ./src --data-api-location swa-db-connections
182-
```
180+
```azstatic-cli
181+
swa start ./src --data-api-location swa-db-connections
182+
```
183183
184-
syntax: >-
185-
swa start
186-
[--yes]
187184
examples:
188185
- summary: Start the application with defaults.
189186
syntax: swa start

0 commit comments

Comments
 (0)