[#166] fixed api preview examples

This commit is contained in:
Gani Georgiev
2022-07-19 19:41:03 +03:00
parent 66b317f01c
commit 8a08a4764d
13 changed files with 56 additions and 82 deletions
@@ -64,12 +64,9 @@
const client = new PocketBase("${ApiClient.baseUrl}");
client.Records.delete("${collection?.name}", "RECORD_ID")
.then(function () {
// success...
}).catch(function (error) {
// error...
});
...
await client.Records.delete("${collection?.name}", "RECORD_ID");
`,
},
];