File tree 2 files changed +8
-2
lines changed
plugins/orchestrator-backend/src/helpers
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @red-hat-developer-hub/backstage-plugin-orchestrator-backend ' : patch
3
+ ---
4
+
5
+ Fixed a typo in FilterBuilder error message
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 The Backstage Authors
2
+ * Copyright Red Hat, Inc.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
+
16
17
import {
17
18
FieldFilter ,
18
19
FieldFilterOperatorEnum ,
@@ -112,7 +113,7 @@ export function buildFilterCondition(
112
113
}
113
114
114
115
if ( ! isOperatorSupported ( filters . operator ) ) {
115
- throw new Error ( `Unsopported operator ${ filters . operator } ` ) ;
116
+ throw new Error ( `Unsupported operator ${ filters . operator } ` ) ;
116
117
}
117
118
118
119
const fieldDef = introspection . find ( f => f . name === filters . field ) ;
You can’t perform that action at this time.
0 commit comments