Use query params too for page adding handler

This commit is contained in:
2023-03-28 19:40:09 +03:00
parent 9dafdf6abf
commit be8f5e019c
10 changed files with 339 additions and 19 deletions

View File

@@ -98,11 +98,7 @@ func FormatFromRest(format []openapi.Format) []entity.Format {
switch {
case len(format) == 0 || (len(format) == 1 && format[0] == openapi.FormatAll):
formats = []entity.Format{
entity.FormatHeaders,
entity.FormatPDF,
entity.FormatSingleFile,
}
formats = entity.AllFormats
default:
formats = make([]entity.Format, len(format))