mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
sync with 1.6.x
This commit is contained in:
parent
aa2a45f142
commit
06b69360f4
1 changed files with 3 additions and 3 deletions
|
|
@ -2742,7 +2742,7 @@ App::post('/v1/messaging/messages/email')
|
|||
->setMessageId($message->getId());
|
||||
break;
|
||||
case MessageStatus::SCHEDULED:
|
||||
$schedule = $dbForConsole->createDocument('schedules', new Document([
|
||||
$schedule = $dbForPlatform->createDocument('schedules', new Document([
|
||||
'region' => $project->getAttribute('region'),
|
||||
'resourceType' => 'message',
|
||||
'resourceId' => $message->getId(),
|
||||
|
|
@ -2859,8 +2859,8 @@ App::post('/v1/messaging/messages/sms')
|
|||
->setMessageId($message->getId());
|
||||
break;
|
||||
case MessageStatus::SCHEDULED:
|
||||
$schedule = $dbForConsole->createDocument('schedules', new Document([
|
||||
'region' => $project->getAttribute('region'),,
|
||||
$schedule = $dbForPlatform->createDocument('schedules', new Document([
|
||||
'region' => $project->getAttribute('region'),
|
||||
'resourceType' => 'message',
|
||||
'resourceId' => $message->getId(),
|
||||
'resourceInternalId' => $message->getInternalId(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue