mirror of
https://github.com/appwrite/appwrite
synced 2026-05-20 23:48:23 +00:00
Add event backward model
This commit is contained in:
parent
9bf7d9bda4
commit
917faa07db
1 changed files with 6 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
namespace Appwrite\Utopia\Request\Filters;
|
||||
|
||||
use Appwrite\Utopia\Request\Filter;
|
||||
use Appwrite\Migration\Version\V13 as MigrationV13;
|
||||
|
||||
class V14 extends Filter
|
||||
{
|
||||
|
|
@ -23,7 +24,11 @@ class V14 extends Filter
|
|||
|
||||
private function convertEvents($content)
|
||||
{
|
||||
// TODO: Convert events
|
||||
$migration = new MigrationV13();
|
||||
|
||||
$events = $content['events'] ?? [];
|
||||
$content['events'] = $migration->migrateEvents($events);
|
||||
|
||||
return $content;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue