fix(api): accept the api key to perform actions on the api with X-API-Key header

This commit is contained in:
sct
2020-12-15 14:13:41 +00:00
parent 20b119c1ac
commit 33f8831e88
2 changed files with 22 additions and 1 deletions

View File

@@ -966,6 +966,10 @@ components:
type: apiKey
name: connect.sid
in: cookie
apiKey:
type: apiKey
in: header
name: X-Api-Key
paths:
/settings/main:
@@ -2485,3 +2489,4 @@ paths:
security:
- cookieAuth: []
- apiKey: []