Skip to content

📚 Documentation: Apple Quick-Start Snippet Syntax Error #559

@Kilo-Loco

Description

@Kilo-Loco

💭 Description

The quick start docs for Apple have a syntax error in the code.

In the Create a login page snippet, the following code is shown:

try await Appwrite.onRegister(
     viewModel.email,
     viewModel.password
)

Error
Instance member 'onRegister' cannot be used on type 'Appwrite'; did you mean to use a value of this type instead?

try! await Appwrite.onLogin(
     viewModel.email,
     viewModel.password
)

Error
Instance member 'onLogin' cannot be used on type 'Appwrite'; did you mean to use a value of this type instead?

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions