Skip to content

Commit 1a0e9c1

Browse files
committed
catch up with rename
Filename and envvars were updated, but platform and URL weren't.
1 parent 4bb926c commit 1a0e9c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/gratipay_send_tip.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
$data = array(
1010
array(
1111
'username' => 'user' . mt_rand(),
12-
'platform' => 'gittip',
12+
'platform' => 'gratipay',
1313
'amount' => '0.02',
1414
),
1515
array(
1616
'username' => 'user' . mt_rand(),
17-
'platform' => 'gittip',
17+
'platform' => 'gratipay',
1818
'amount' => '0.02',
1919
),
2020
);
2121

2222
$curl = new Curl();
2323
$curl->setHeader('Content-Type', 'application/json');
2424
$curl->setBasicAuthentication(GRATIPAY_API_KEY);
25-
$curl->post('https://www.gittip.com/' . GRATIPAY_USERNAME . '/tips.json', json_encode($data));
25+
$curl->post('https://gratipay.com/' . GRATIPAY_USERNAME . '/tips.json', json_encode($data));
2626

2727
foreach ($curl->response as $tip) {
2828
echo $tip->amount . ' given to ' . $tip->username . '.' . "\n";

0 commit comments

Comments
 (0)