mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Stale in-memory project documents in ScheduleBase (and request-scoped copies in api.php/general.php) were overwriting current DB state when updateProjectAccess triggered. Because Database::updateDocument uses array_merge with the passed document taking priority, cached projects missing recent OAuth provider changes would silently disable them. Now fetches a fresh project document from the DB before writing, so only accessedAt is updated without clobbering other fields. |
||
|---|---|---|
| .. | ||
| api | ||
| api.php | ||