Skip to content

Commit a7d9675

Browse files
committed
CloudAsset: Fix ListAssets sample code
1 parent aa54bc9 commit a7d9675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asset/src/list_assets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function list_assets(string $projectId)
2929
$client = new AssetServiceClient();
3030

3131
// Run request
32-
$response = $client->listAssets("projects/$project");
32+
$response = $client->listAssets("projects/$projectId");
3333

3434
// Print the asset names in the result
3535
foreach ($response->getPage() as $asset) {

0 commit comments

Comments
 (0)