Skip to content

Commit 6dc8fa4

Browse files
committed
🔧 Flickr get-token example: fix hen-egg issue
1 parent 94aa904 commit 6dc8fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/get-token/Flickr.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
use chillerlan\OAuth\Providers\Flickr;
1313

14-
$PARAMS ??= ['perms' => Flickr::PERM_DELETE];
14+
$PARAMS ??= ['perms' => 'read']; // hen-egg issue: can't use the Flickr class before it's loaded
1515

1616
require_once __DIR__.'/../provider-example-common.php';
1717

0 commit comments

Comments
 (0)