mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-24 15:00:25 +02:00
updated js-sdk and replaced missing handlers
This commit is contained in:
1 parent
7984e586a8
commit
5bea84b94b
40 files changed
+217
-229
No files matched your search
@@ -121,10 +121,7 @@ export function pageSQLConsole(route) {
|
||||
}
|
||||
|
||||
try {
|
||||
// @todo add method to JS SDK
|
||||
pageData.result = await app.pb.send("/api/sql", {
|
||||
method: "POST",
|
||||
body: { query },
|
||||
pageData.result = await app.pb.sql.run(query, {
|
||||
requestKey: requestKey,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user