diff --git a/packages/auth/docs/qa.en-US.md b/packages/auth/docs/qa.en-US.md index d6acf931f..853684d10 100644 --- a/packages/auth/docs/qa.en-US.md +++ b/packages/auth/docs/qa.en-US.md @@ -11,7 +11,7 @@ When calling the request, add `ALLOW_ANONYMOUS`. ```ts this.http.post(`login`, { name: 'cipchk', pwd: '123456' -}, { +}, null, { context: new HttpContext().set(ALLOW_ANONYMOUS, true) }); ``` diff --git a/packages/auth/docs/qa.zh-CN.md b/packages/auth/docs/qa.zh-CN.md index 436a8ac45..f2c426e0e 100644 --- a/packages/auth/docs/qa.zh-CN.md +++ b/packages/auth/docs/qa.zh-CN.md @@ -11,7 +11,7 @@ type: Documents ```ts this.http.post(`login`, { name: 'cipchk', pwd: '123456' -}, { +}, null, { context: new HttpContext().set(ALLOW_ANONYMOUS, true) }); ```