Skip to content

Commit e0d00a6

Browse files
committed
small fixes
1 parent ace7691 commit e0d00a6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

example.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ function configureSDK($sdk, $overrides = []) {
4343
'description' => 'Repo description goes here',
4444
'shortDescription' => 'Repo short description goes here',
4545
'url' => 'https://example.com',
46-
'logo' => 'https://appwrite.io/v1/images/console.png',
46+
'logo' => 'https://appwrite.io/images/logos/logo.svg',
4747
'licenseContent' => 'test test test',
4848
'warning' => '**WORK IN PROGRESS - NOT READY FOR USAGE**',
4949
'changelog' => '**CHANGELOG**',
5050
'gitUserName' => 'repoowner',
5151
'gitRepoName' => 'reponame',
52-
'twitter' => 'appwrite_io',
52+
'twitter' => 'appwrite',
5353
'discord' => ['564160730845151244', 'https://appwrite.io/discord'],
5454
'defaultHeaders' => ['X-Appwrite-Response-Format' => '1.6.0'],
5555
'readme' => '**README**',
@@ -271,10 +271,7 @@ function configureSDK($sdk, $overrides = []) {
271271
// GraphQL
272272
if (!$requestedSdk || $requestedSdk === 'graphql') {
273273
$sdk = new SDK(new GraphQL(), new Swagger2($spec));
274-
$sdk
275-
->setName('GraphQL')
276-
->setDescription('Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Flutter SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs')
277-
->setLogo('https://appwrite.io/v1/images/console.png');
274+
configureSDK($sdk);
278275
$sdk->generate(__DIR__ . '/examples/graphql');
279276
}
280277
}

0 commit comments

Comments
 (0)