Skip to content

Commit fad41b9

Browse files
author
tuck1s
committed
One more transmissions->get in README to fix
1 parent 60f9f40 commit fad41b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ The API calls either return a `SparkPostPromise` or `SparkPostResponse` dependin
298298
```php
299299
$sparky->setOptions(['async' => false]);
300300
try {
301-
$response = $sparky->transmissions->get();
301+
$response = ... // YOUR API CALL GOES HERE
302302

303303
echo $response->getStatusCode()."\n";
304304
print_r($response->getBody())."\n";
@@ -314,7 +314,7 @@ Asynchronous an be handled in two ways: by passing callbacks or waiting for the
314314
##### Wait (Synchronous)
315315
```php
316316

317-
$promise = // YOUR API CALL GOES HERE
317+
$promise = ... // YOUR API CALL GOES HERE
318318

319319
try {
320320
$response = $promise->wait();
@@ -330,7 +330,7 @@ echo "I will print out after the promise is fulfilled";
330330

331331
##### Then (Asynchronous)
332332
```php
333-
$promise = // YOUR API CALL GOES HERE
333+
$promise = ... // YOUR API CALL GOES HERE
334334

335335
$promise->then(
336336
// Success callback

0 commit comments

Comments
 (0)