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