Skip to content

Commit 8611f5a

Browse files
committed
Removed changes to database.rules.json
1 parent 5b1c04b commit 8611f5a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

config/database.rules.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"rules": {
33
".read": true,
4-
".write": true,
5-
"testing": {
6-
".indexOn": "testIndex"
7-
}
4+
".write": true
85
}
96
}

scripts/emulator-testing/emulators/database-emulator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class DatabaseEmulator extends Emulator {
4141
{
4242
uri: `http://localhost:${this.port}/.settings/rules.json?ns=${this.namespace}`,
4343
headers: { Authorization: 'Bearer owner' },
44-
body: '{ "rules": { ".read": true, ".write": true, "testing": { ".indexOn": "testIndex" } } }'
44+
body: '{ "rules": { ".read": true, ".write": true, "testing": { ".indexOn": "testIndex" } } }' // TODO: If this gets more complex, we should move this to a file.
4545
},
4646
(error, response, body) => {
4747
if (error) reject(error);

0 commit comments

Comments
 (0)