Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
Kilo-Loco opened this issue Jan 28, 2024 · 0 comments · May be fixed by #560
Open
2 tasks done

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

Kilo-Loco opened this issue Jan 28, 2024 · 0 comments · May be fixed by #560
Labels
documentation Improvements or additions to documentation

Comments

@Kilo-Loco
Copy link
Contributor

💭 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?

@Kilo-Loco Kilo-Loco added the documentation Improvements or additions to documentation label Jan 28, 2024
@Kilo-Loco Kilo-Loco linked a pull request Jan 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant