mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 21:18:11 -04:00
feat(server-transfer): run instance migration as a background job (#12180)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4553454f89
commit
7c14c0098e
@@ -165,4 +165,19 @@ class GithubApp extends BaseModel
|
||||
|
||||
return filled($this->app_id) && filled($this->installation_id);
|
||||
}
|
||||
|
||||
/**
|
||||
* The settings page of this App at GitHub.
|
||||
*/
|
||||
public function settingsUrl(): string
|
||||
{
|
||||
$name = encodeGithubPathSegment($this->name);
|
||||
$organization = normalizeGithubOrganization($this->organization);
|
||||
|
||||
if (filled($organization)) {
|
||||
return rtrim($this->html_url, '/').'/organizations/'.encodeGithubPathSegment($organization)."/settings/apps/{$name}";
|
||||
}
|
||||
|
||||
return rtrim($this->html_url, '/')."/settings/apps/{$name}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user