We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200262b commit f444cb3Copy full SHA for f444cb3
src/client/user.ts
@@ -54,7 +54,7 @@ export class JikeUser<M extends boolean = boolean> {
54
* @param ignoreCache 不使用缓存
55
*/
56
async queryProfile(ignoreCache = false) {
57
- if (ignoreCache && this.#profile) return this.#profile
+ if (!ignoreCache && this.#profile) return this.#profile
58
59
const result = await this.#client.apiClient.users.profile(this.#username)
60
if (!isSuccess(result)) throwRequestFailureError(result, '查询用户信息')
0 commit comments