mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-17 19:48:14 +02:00
fixed typos
This commit is contained in:
1 parent
d761fa12af
commit
a26006ad56
16 files changed
+422
-422
No files matched your search
@@ -22,12 +22,12 @@
|
||||
|
||||
// Subscribe to changes in any record from the collection
|
||||
client.Realtime.subscribe("${collection?.name}", function (e) {
|
||||
console.log(e.data);
|
||||
console.log(e.record);
|
||||
});
|
||||
|
||||
// Subscribe to changes in a single record
|
||||
client.Realtime.subscribe("${collection?.name}/RECORD_ID", function (e) {
|
||||
console.log(e.data);
|
||||
console.log(e.record);
|
||||
});
|
||||
|
||||
// Unsubscribe
|
||||
|
||||
Reference in new issue
Block a user