Skip to content

Commit 8be855a

Browse files
committed
fix typing issue
1 parent 129f980 commit 8be855a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/contributors/mutations/deleteContributor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export default resolver.pipe(
204204
where: { id: contributorToDelete.id },
205205
data: {
206206
deleted: true,
207-
formerTeamIds: formerTeamIds.length > 0 ? formerTeamIds : null,
207+
formerTeamIds: formerTeamIds.length > 0 ? formerTeamIds : undefined,
208208
},
209209
})
210210

0 commit comments

Comments
 (0)