Skip to content

Commit 13b6d3e

Browse files
committed
fix: add proper example
1 parent 80c5e4d commit 13b6d3e

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/test-code-samples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- name: Call Code Sample Tester Actor
2424
env:
25-
APIFY_TOKEN: apify_api_2x75M2AvgF4pvx2iYfjESi5cBZdtjy2eAZNP
25+
APIFY_TOKEN: apify_api_Hh2OPyR6MPVJ6te8pkfe27vS09aL1f2lquSt
2626
BRANCH_NAME: ${{ env.branch_name }}
2727
run: |
2828
curl -X POST "https://api.apify.com/v2/acts/X8D0L4wfpO8fCL1uL/run-sync" \
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { ApifyClient } from 'apify-client';
2+
3+
const apifyClient = new ApifyClient({
4+
token: '<TOKEN>',
5+
});
6+
const updatedRun = await apifyClient
7+
.run('<RUN ID>')
8+
.update({
9+
statusMessage: 'Actor has finished',
10+
});
11+
12+
console.log(updatedRun);

apify-api/openapi/code_samples/javascript/test.js

Whitespace-only changes.

0 commit comments

Comments
 (0)