chore: revert abuse-key changes

This commit is contained in:
loks0n
2023-10-13 11:08:25 +01:00
parent 07286e5864
commit 63d3a2bc73
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -2090,7 +2090,6 @@ App::delete('/v1/account/sessions/:sessionId')
->label('sdk.response.code', Response::STATUS_CODE_NOCONTENT)
->label('sdk.response.model', Response::MODEL_NONE)
->label('abuse-limit', 100)
->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId}')
->param('sessionId', '', new UID(), 'Session ID. Use the string \'current\' to delete the current device session.')
->inject('requestTimestamp')
->inject('request')
@@ -2169,7 +2168,6 @@ App::patch('/v1/account/sessions/:sessionId')
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
->label('sdk.response.model', Response::MODEL_SESSION)
->label('abuse-limit', 10)
->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId}')
->param('sessionId', '', new UID(), 'Session ID. Use the string \'current\' to update the current device session.')
->inject('request')
->inject('response')
-1
View File
@@ -373,7 +373,6 @@ App::post('/v1/teams/:teamId/memberships')
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
->label('sdk.response.model', Response::MODEL_MEMBERSHIP)
->label('abuse-limit', 10)
->label('abuse-key', 'ip:{ip},method:{method},url:{url},userId:{userId}')
->param('teamId', '', new UID(), 'Team ID.')
->param('email', '', new Email(), 'Email of the new team member.', true)
->param('userId', '', new UID(), 'ID of the user to be added to a team.', true)