From 136faf96300f419904f4e126c7230625c3bdca9e Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Thu, 11 Jan 2024 10:54:41 +0000 Subject: [PATCH] docs: improve exchange endpoint desc --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 3d668285db..7b6f07a7ca 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -1333,7 +1333,7 @@ App::post('/v1/account/sessions/token') ->label('abuse-limit', 10) ->label('abuse-key', 'ip:{ip},userId:{param-userId}') ->param('userId', '', new CustomId(), 'User ID.') - ->param('secret', '', new Text(256), 'Valid verification token.') + ->param('secret', '', new Text(256), 'Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.') ->inject('request') ->inject('response') ->inject('user')