mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
realtime connection
This commit is contained in:
@@ -537,16 +537,6 @@ class Certificates extends Action
|
||||
project: $project
|
||||
);
|
||||
|
||||
var_dump([
|
||||
'redis' => $realtimeConnection($this->sourceRegion),
|
||||
'projectId' => 'console',
|
||||
'payload' => $rule->getArrayCopy(),
|
||||
'events' => $allEvents,
|
||||
'channels' => $target['channels'],
|
||||
'roles' => $target['roles'],
|
||||
]);
|
||||
|
||||
|
||||
Realtime::send(
|
||||
redis: $realtimeConnection($this->sourceRegion),
|
||||
projectId: 'console',
|
||||
|
||||
@@ -632,7 +632,12 @@ class Databases extends Action
|
||||
callable $realtimeConnection
|
||||
): void {
|
||||
|
||||
var_dump($realtimeConnection($this->sourceRegion));
|
||||
var_dump([
|
||||
'sourceRegion' => $this->sourceRegion,
|
||||
'redis' => $realtimeConnection($this->sourceRegion),
|
||||
'projectId' => 'console',
|
||||
'payload' => $attribute->getArrayCopy()
|
||||
]);
|
||||
|
||||
$target = Realtime::fromPayload(
|
||||
// Pass first, most verbose event pattern
|
||||
|
||||
Reference in New Issue
Block a user