This commit is contained in:
@@ -36,7 +36,7 @@ export class AccountNetwork extends BaseNetwork {
|
||||
|
||||
async sendVerificationCode(data: SendVerificationCodeRequest) {
|
||||
return await this.post<SendVerificationCodeResponse>(
|
||||
this.baseUrl + "/send-verification-code"
|
||||
this.baseUrl + "/send-email-verification-code"
|
||||
, data
|
||||
, {
|
||||
authPass: true
|
||||
@@ -46,7 +46,7 @@ export class AccountNetwork extends BaseNetwork {
|
||||
|
||||
async verifyCode(data: VerifyCodeRequest) {
|
||||
return await this.post<VerifyCodeResponse>(
|
||||
this.baseUrl + "/verify-code"
|
||||
this.baseUrl + "/verify-email-verification-code"
|
||||
, data
|
||||
, {
|
||||
authPass: true
|
||||
|
||||
Reference in New Issue
Block a user