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 18239fb commit 08aa2b5
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 Client();
appwrite
client
.setEndpoint('${endpoint}')
.setProject('${project}');`;
</script>
Expand Down

0 comments on commit 08aa2b5

Please sign in to comment.