Skip to content

Commit 7fe3441

Browse files
committed
fix docs
1 parent 64a47c4 commit 7fe3441

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/examples/database/create-collection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() { // Init SDK
1111
;
1212

1313
Future result = database.createCollection(
14-
collectionId: '',
14+
collectionId: '[COLLECTION_ID]',
1515
name: '[NAME]',
1616
permission: 'document',
1717
read: ["role:all"],

docs/examples/database/create-document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() { // Init SDK
1212

1313
Future result = database.createDocument(
1414
collectionId: '[COLLECTION_ID]',
15-
documentId: '',
15+
documentId: '[DOCUMENT_ID]',
1616
data: {},
1717
);
1818

docs/examples/functions/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() { // Init SDK
1111
;
1212

1313
Future result = functions.create(
14-
functionId: '',
14+
functionId: '[FUNCTION_ID]',
1515
name: '[NAME]',
1616
execute: [],
1717
runtime: 'node-14.5',

docs/examples/storage/create-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() { // Init SDK
1212
;
1313

1414
Future result = storage.createFile(
15-
fileId: '',
15+
fileId: '[FILE_ID]',
1616
file: await MultipartFile.fromPath('file', './path-to-files/image.jpg', 'image.jpg'),
1717
);
1818

docs/examples/teams/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() { // Init SDK
1111
;
1212

1313
Future result = teams.create(
14-
teamId: '',
14+
teamId: '[TEAM_ID]',
1515
name: '[NAME]',
1616
);
1717

docs/examples/users/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ void main() { // Init SDK
1111
;
1212

1313
Future result = users.create(
14-
userId: '',
14+
userId: '[USER_ID]',
1515
email: 'email@example.com',
1616
password: 'password',
1717
);

0 commit comments

Comments
 (0)