Skip to content

Commit 3beab8a

Browse files
committed
fix deprecated
1 parent 6d2c065 commit 3beab8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function getSSLPage($url) {
4141
// $platform = 'console';
4242
// $platform = 'server';
4343

44-
$spec = getSSLPage("https://raw.githubusercontent.com/appwrite/appwrite/master/app/config/specs/swagger2-latest-${platform}.json");
44+
$spec = getSSLPage("https://raw.githubusercontent.com/appwrite/appwrite/master/app/config/specs/swagger2-latest-{$platform}.json");
4545

4646
if(empty($spec)) {
4747
throw new Exception('Failed to fetch spec from Appwrite server');

0 commit comments

Comments
 (0)