Skip to content

Commit

Permalink
fix campaigns response
Browse files Browse the repository at this point in the history
  • Loading branch information
therzka committed Feb 10, 2023
1 parent 9116e33 commit e3f32cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/api_docs/paths/api_campaigns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ get:
type: object
properties:
Campaigns:
$ref: ../components/schemas/Campaign.yaml
type: array
items:
$ref: ../components/schemas/Campaign.yaml
'500':
description: Error
content:
Expand Down
4 changes: 3 additions & 1 deletion openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ paths:
type: object
properties:
Campaigns:
$ref: '#/components/schemas/Campaign'
type: array
items:
$ref: '#/components/schemas/Campaign'
'500':
description: Error
content:
Expand Down

0 comments on commit e3f32cf

Please sign in to comment.