fix naming of custom filter export param (#39304)

This commit is contained in:
Pia B. 2026-06-05 18:02:20 +02:00 committed by GitHub
parent b3a40bb010
commit ead13d4826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class Export
data_collection[:custom_filters] << {
title: filter.title,
expire_at: filter.expires_at,
expires_at: filter.expires_at,
context: filter.context,
action: filter.action,
keywords_attributes: keywords_attributes,

View File

@ -17,7 +17,7 @@ RSpec.describe 'Settings / Exports / CustomFilters' do
{ 'custom_filters' => [
{
'title' => other_filter.phrase,
'expire_at' => nil,
'expires_at' => nil,
'context' => other_filter.context,
'action' => other_filter.action,
'keywords_attributes' => [{
@ -31,7 +31,7 @@ RSpec.describe 'Settings / Exports / CustomFilters' do
},
{
'title' => filter.phrase,
'expire_at' => nil,
'expires_at' => nil,
'context' => filter.context,
'action' => filter.action,
'keywords_attributes' => [{