mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
feat: adding explanation
This commit is contained in:
parent
1c6b735a27
commit
95fe939136
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ App::put('/v1/functions/:functionId')
|
|||
|
||||
$isConnected = !empty($function->getAttribute('providerRepositoryId', ''));
|
||||
|
||||
// Git disconnect logic
|
||||
// Git disconnect logic. Disconnecting only when providerRepositoryId is empty, allowing for continue updates without disconnecting git
|
||||
if ($isConnected && ($providerRepositoryId !== null && empty($providerRepositoryId))) {
|
||||
$repositories = $dbForConsole->find('repositories', [
|
||||
Query::equal('projectInternalId', [$project->getInternalId()]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue