Skip to content

Commit 7e89722

Browse files
committed
fix data structure access
Signed-off-by: Bruno Abrantes <bruno@brunoabrantes.com>
1 parent 9a80b7e commit 7e89722

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/update-trending-base.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,11 @@ jobs:
6767
} catch (error) {
6868
if (error.data) {
6969
result = error.data;
70-
console.log(result);
7170
}
7271
return;
7372
}
7473
75-
const trend_id = result.data.organization.projectV2.field.options[0].id;
76-
77-
console.log(trend_id)
74+
const trend_id = result.organization.projectV2.field.options[0].id;
7875
7976
core.setOutput("trend_id", trend_id);
8077

0 commit comments

Comments
 (0)