Skip to content

Commit 3861c6b

Browse files
fix(apify): Address issues from PR
1 parent 4066a04 commit 3861c6b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

components/apify/actions/run-actor/run-actor.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ export default {
340340
// sync run
341341
run = await apify.runActor({
342342
actorId,
343-
data: input,
344-
params,
343+
input,
344+
options: params,
345345
});
346346

347347
// Fetch OUTPUT record manually

components/apify/apify.app.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,13 @@ export default {
250250
.call({}, params);
251251
},
252252
setKeyValueStoreRecord({
253-
storeId, key, value,
253+
storeId, key, value, contentType,
254254
}) {
255255
return this._client().keyValueStore(storeId)
256256
.setRecord({
257257
key,
258258
value,
259+
contentType,
259260
});
260261
},
261262
formatActorOrTaskLabel({

0 commit comments

Comments
 (0)