1
0
Fork 0
mirror of synced 2024-06-25 17:50:38 +12:00

Updated docs

This commit is contained in:
Eldad Fux 2020-02-12 12:38:12 +02:00
parent ec6788ca4c
commit cf4d4c30d0

View file

@ -857,7 +857,7 @@ $utopia->delete('/v1/account/sessions/:sessionUid')
->label('sdk.method', 'deleteSession')
->label('sdk.description', '/docs/references/account/delete-session.md')
->label('abuse-limit', 100)
->param('sessionUid', null, function () { return new UID(); }, 'Session unique ID. Use the string \'current\' to delete current device session.')
->param('sessionUid', null, function () { return new UID(); }, 'Session unique ID. Use the string \'current\' to delete the current device session.')
->action(
function ($sessionUid) use ($response, $request, $user, $projectDB, $webhook, $audit) {
$sessionUid = ($sessionUid === 'current')