Remove get document from worker

This commit is contained in:
Bradley Schofield 2024-11-11 16:45:17 +09:00
parent 59c233b1e5
commit d9e2ecff54

View file

@ -268,8 +268,6 @@ class Migrations extends Action
$transfer = $source = $destination = null;
try {
$migration = $this->dbForProject->getDocument('migrations', $migration->getId());
if (
$migration->getAttribute('source') === SourceAppwrite::getName() &&
empty($migration->getAttribute('credentials', []))