mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 12:14:28 +00:00
fix: new way to update container statuses
This commit is contained in:
1 parent
2eab9296cf
commit
ca7c214775
23 files changed
+602
-35
No files matched your search
@@ -28,6 +28,11 @@ class ApplicationPreview extends BaseModel
|
||||
});
|
||||
}
|
||||
});
|
||||
static::saving(function ($preview) {
|
||||
if ($preview->isDirty('status')) {
|
||||
$preview->forceFill(['last_online_at' => now()]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static function findPreviewByApplicationAndPullId(int $application_id, int $pull_request_id)
|
||||
|
||||
Reference in new issue
Block a user