Skip to content

Commit 1b49bdd

Browse files
Copilotjancurn
andauthored
Fix inadvertent parameter optionality changes in create methods (#798)
Two `create()` method signatures were inadvertently changed from optional to required parameters during JSDoc additions, breaking backward compatibility. ## Changes - **schedule_collection.ts**: Restored `create(schedule?: ScheduleCreateOrUpdateData)` parameter optionality - **webhook_collection.ts**: Restored `create(webhook?: WebhookUpdateData)` parameter optionality Both methods use `ow.optional.object` validation internally, confirming the parameters should be optional. <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/apify/apify-client-js/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jancurn <10612996+jancurn@users.noreply.github.com>
1 parent 1142122 commit 1b49bdd

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)