We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41cb7ce commit 9c2a211Copy full SHA for 9c2a211
src/Model/Insert.php
@@ -85,7 +85,7 @@ public function execute(
85
return $response['_id'];
86
}
87
88
- if (isset($response['result']) && $response['result'] === 'created') {
+ if (isset($response['result']) && ($response['result'] === 'created' || $response['result'] === 'updated')) {
89
90
91
0 commit comments