Skip to content

Commit 18b94c0

Browse files
committed
fix: typo on search + gitignore
1 parent 2153a7e commit 18b94c0

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
.php-cs-fixer.cache
12
vendor

services/ImapImporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function mapData($data)
144144

145145
public function syncData($data)
146146
{
147-
$existingEntries = $this->entryManager->search(['formIds' => [$this->config['formId']]]);
147+
$existingEntries = $this->entryManager->search(['formsIds' => [$this->config['formId']]]);
148148
foreach ($data as $entry) {
149149
$res = multiArraySearch($existingEntries, 'message_id', $entry['message_id']);
150150
if (!$res) {

services/RssImporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function mapData($data)
136136

137137
public function syncData($data)
138138
{
139-
$existingEntries = $this->entryManager->search(['formIds' => [$this->config['formId']]]);
139+
$existingEntries = $this->entryManager->search(['formsIds' => [$this->config['formId']]]);
140140
foreach ($data as $entry) {
141141
$res = multiArraySearch($existingEntries, 'bf_url', $entry['bf_url']);
142142
if (!$res) {

services/YunohostAppImporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function mapData($data)
134134

135135
public function syncData($data)
136136
{
137-
$existingEntries = $this->entryManager->search(['formIds' => [$this->config['formId']]]);
137+
$existingEntries = $this->entryManager->search(['formsIds' => [$this->config['formId']]]);
138138
foreach ($data as $entry) {
139139
$res = multiArraySearch($existingEntries, 'yunohost_app_id', $entry['yunohost_app_id']);
140140
if (!$res) {

0 commit comments

Comments
 (0)