Finalize bandwidth chart endpoint

This commit is contained in:
Patrick Pacher
2023-10-10 10:04:50 +02:00
committed by Daniel
parent 1484591aea
commit ead0323e43
3 changed files with 39 additions and 42 deletions

View File

@@ -455,6 +455,7 @@ func (query Query) toSQLWhereClause(ctx context.Context, suffix string, m *orm.T
values := query[column]
colDef, ok := lm[column]
if !ok {
errs.Errors = append(errs.Errors, fmt.Errorf("column %s is not allowed", column))
continue