Skip to content

Commit 58959ad

Browse files
committed
Update README
1 parent 3456770 commit 58959ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ $creation = $contactsService->createContact(
187187
doiMailingKey:'A key to identify the DOI mailing',
188188
);
189189

190-
if (!$contact->isSuccess()) {
191-
die($contact->getResultXML()->message);
190+
if (!$creation->isSuccess()) {
191+
die($creation->getResultXML()->message);
192192
}
193193
```
194194

0 commit comments

Comments
 (0)