From e600e51294e6c1bbff76692e9d37bde31d7b8a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz=F0=9F=8C=99?= Date: Wed, 25 Dec 2024 15:30:10 +0800 Subject: [PATCH] [*] Fix type announce --- src/api/v2/email/password.api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/v2/email/password.api.ts b/src/api/v2/email/password.api.ts index a8348af..2083055 100644 --- a/src/api/v2/email/password.api.ts +++ b/src/api/v2/email/password.api.ts @@ -2,7 +2,7 @@ import { get } from '@/utils/request' import base from '@/api/base' -const password = async (user: number) => { +const password = async (user: string) => { const rs = get(`${base.api_v2_url}/email/password`, { user: user })