Skip to content

Commit

Permalink
Fix sdk for web init sample
Browse files Browse the repository at this point in the history
Since the import in the previous step is for Appwrite
use Appwrite as the prefix for this sample.
  • Loading branch information
stnguyen90 committed Nov 21, 2022
1 parent 4630e29 commit 4e21ad9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import { sdkForProject } from '$lib/stores/sdk';
const { endpoint, project } = sdkForProject.client.config;
const code = `const appwrite = new Appwrite();
const code = `const client = new Appwrite.Client();
appwrite
client
.setEndpoint('${endpoint}')
.setProject('${project}');`;
</script>
Expand Down

0 comments on commit 4e21ad9

Please sign in to comment.