From 6a406454ba21ebe8ffecbe1bbb1eca2e4924be5f Mon Sep 17 00:00:00 2001 From: choir27 Date: Fri, 21 Jun 2024 10:41:46 -0400 Subject: [PATCH] docs: update api reference --- app/controllers/api/account.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 6f0345cfdc..fc372d1324 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -3428,7 +3428,7 @@ App::post('/v1/account/verification/phone') }); App::put('/v1/account/verification/phone') - ->desc('Create phone verification (confirmation)') + ->desc('Update phone verification (confirmation)') ->groups(['api', 'account']) ->label('scope', 'public') ->label('event', 'users.[userId].verification.[tokenId].update') @@ -3571,7 +3571,7 @@ App::get('/v1/account/mfa/factors') }); App::post('/v1/account/mfa/authenticators/:type') - ->desc('Add Authenticator') + ->desc('Create Authenticator') ->groups(['api', 'account']) ->label('event', 'users.[userId].update.mfa') ->label('scope', 'account') @@ -3881,7 +3881,7 @@ App::delete('/v1/account/mfa/authenticators/:type') }); App::post('/v1/account/mfa/challenge') - ->desc('Create 2FA Challenge') + ->desc('Create MFA Challenge') ->groups(['api', 'account', 'mfa']) ->label('scope', 'account') ->label('event', 'users.[userId].challenges.[challengeId].create')