mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Updated SDKs
This commit is contained in:
1 parent
8a5e240131
commit
ef8a4e8c62
33 files changed
+2420
-165
No files matched your search
@@ -4,6 +4,10 @@ sdk
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
;
|
||||
|
||||
let result = sdk.account.createOAuth2Session('bitbucket', 'https://example.com', 'https://example.com');
|
||||
let promise = sdk.account.createOAuth2Session('bitbucket');
|
||||
|
||||
console.log(result); // Resource URL
|
||||
promise.then(function (response) {
|
||||
console.log(response); // Success
|
||||
}, function (error) {
|
||||
console.log(error); // Failure
|
||||
});
|
||||
Reference in new issue
Block a user