From 6cb5af24573648968cef88e1076b599f7ba1810a Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Sun, 6 Aug 2023 02:10:53 +0530 Subject: [PATCH] Update Comment Table --- src/Appwrite/Vcs/Comment.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Vcs/Comment.php b/src/Appwrite/Vcs/Comment.php index 9fe8571865..3e3adeff1b 100644 --- a/src/Appwrite/Vcs/Comment.php +++ b/src/Appwrite/Vcs/Comment.php @@ -62,7 +62,7 @@ class Comment foreach ($projects as $projectId => $project) { $text .= "**{$project['name']}** `{$projectId}`\n\n"; - $text .= "| Function | ID | Status | Build Logs |\n"; + $text .= "| Function | ID | Status | Action |\n"; $text .= "| :- | :- | :- | :- |\n"; $protocol = App::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https'; @@ -78,7 +78,8 @@ class Comment }; //TODO: Update names of images - $logs = '[View output](' . $protocol . '://' . $hostname . '/console/project-' . $projectId . '/functions/function-' . $functionId . '/deployment-' . $function['deploymentId'] . ')'; + //TODO: Change View logs to Authorize for external contributors + $logs = '[View Logs](' . $protocol . '://' . $hostname . '/console/project-' . $projectId . '/functions/function-' . $functionId . '/deployment-' . $function['deploymentId'] . ')'; $text .= "| {$function['name']} | `{$functionId}` | {$status} | {$logs} |\n"; }