Skip to content

Commit 6ad50b4

Browse files
committed
fix docs
1 parent c913f82 commit 6ad50b4

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
@@ -8,7 +8,7 @@ func main() {
88

99
let database = Database(client)
1010
database.createCollection(
11-
collectionId: "",
11+
collectionId: "[COLLECTION_ID]",
1212
name: "[NAME]",
1313
permission: "document",
1414
read: ["role:all"],

docs/examples/database/create-document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func main() {
99
let database = Database(client)
1010
database.createDocument(
1111
collectionId: "[COLLECTION_ID]",
12-
documentId: "",
12+
documentId: "[DOCUMENT_ID]",
1313
data:
1414
) { result in
1515
switch result {

docs/examples/functions/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func main() {
88

99
let functions = Functions(client)
1010
functions.create(
11-
functionId: "",
11+
functionId: "[FUNCTION_ID]",
1212
name: "[NAME]",
1313
execute: [],
1414
runtime: "node-14.5"

docs/examples/storage/create-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func main() {
88

99
let storage = Storage(client)
1010
storage.createFile(
11-
fileId: "",
11+
fileId: "[FILE_ID]",
1212
file: File(name: "image.jpg", buffer: yourByteBuffer)
1313
) { result in
1414
switch result {

docs/examples/teams/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func main() {
88

99
let teams = Teams(client)
1010
teams.create(
11-
teamId: "",
11+
teamId: "[TEAM_ID]",
1212
name: "[NAME]"
1313
) { result in
1414
switch result {

docs/examples/users/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func main() {
88

99
let users = Users(client)
1010
users.create(
11-
userId: "",
11+
userId: "[USER_ID]",
1212
1313
password: "password"
1414
) { result in

0 commit comments

Comments
 (0)