Skip to content

Commit

Permalink
fixup! refactor(core): migrate Actions API usage to Sanity Client
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed May 29, 2024
1 parent 591f370 commit 10331cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function restore(
actionType: 'sanity.action.document.create',
publishedId: documentId,
attributes: restoredDraft,
ifExists: 'fail',
ifExists: 'ignore',
},
// @ts-expect-error FIXME
{
Expand Down

0 comments on commit 10331cf

Please sign in to comment.