Skip to content

Commit b744385

Browse files
ARSN-224: fix default value for the filter of bucket notif config
1 parent d407cd7 commit b744385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/models/NotificationConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export default class NotificationConfiguration {
171171
*/
172172
_parseFilter(filter: any[]) {
173173
if (!filter || !filter[0]) {
174-
return { filterRules: [] };
174+
return { filterRules: undefined };
175175
}
176176
if (!filter[0].S3Key || !filter[0].S3Key[0]) {
177177
return { error: errors.MalformedXML.customizeDescription(

0 commit comments

Comments
 (0)