mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Drop narration comments
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5e35b4bac1
commit
aa26b98617
2 files changed
-5
No files matched your search
@@ -154,8 +154,6 @@ class Screenshots extends Action
|
||||
$framework = Config::getParam('frameworks', [])[$site->getAttribute('framework', '')] ?? null;
|
||||
$sleep = $framework['screenshotSleep'] ?? 3000;
|
||||
|
||||
// Concurrency comes from the worker's coroutines (_APP_WORKER_MAX_COROUTINES),
|
||||
// so the two themes are captured sequentially within a message.
|
||||
$captures = [];
|
||||
foreach (['screenshotLight' => 'light', 'screenshotDark' => 'dark'] as $key => $theme) {
|
||||
$captures[$key] = $screenshots->create(
|
||||
|
||||
@@ -22,9 +22,6 @@ class Client
|
||||
/**
|
||||
* Capture a screenshot of a page and return the PNG bytes.
|
||||
*
|
||||
* The browser service responds with raw image bytes on success and
|
||||
* `{"error": message}` with a 4xx status on failure.
|
||||
*
|
||||
* @param array<string, string> $headers
|
||||
* @throws Exception on an error response
|
||||
* @throws ClientExceptionInterface on transport failure
|
||||
|
||||
Reference in new issue
Block a user