Skip to content

Commit

Permalink
Update login.md
Browse files Browse the repository at this point in the history
Update function name
  • Loading branch information
cisiqo authored Feb 20, 2024
1 parent d73d71b commit 70737ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zh/quick-start/login.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async function register(username, password) {
}

// login
async function register(username, password) {
async function login(username, password) {
try {
const response = await axios.post(baseUrl + "/login", {
username: username,
Expand All @@ -161,4 +161,4 @@ async function register(username, password) {
- [云函数](/zh/cloud-function/)
- [云数据库](/zh/cloud-database/)
- [云存储](/zh/cloud-storage/)
:::
:::

0 comments on commit 70737ce

Please sign in to comment.