mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix(migration): missing null value in provider
This commit is contained in:
@@ -44,7 +44,7 @@ class V06 extends Migration
|
||||
break;
|
||||
case Database::SYSTEM_COLLECTION_PROJECTS:
|
||||
foreach ($providers as $key => $provider) {
|
||||
if ($document->getAttribute('usersOauth' . \ucfirst($key) . 'Secret')) {
|
||||
if ($document->getAttribute('usersOauth' . \ucfirst($key) . 'Secret', null)) {
|
||||
//TODO: take care of filter ['encrypt]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user