Skip to content

Commit c28b2ea

Browse files
bchrobotben-pr-p
andauthoredJan 3, 2020
fix: clarify that arg is unused
Co-Authored-By: ben <ben.paul.ryan.packer@gmail.com>
1 parent d473624 commit c28b2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/server/api/schema.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ async function editCampaign(id, campaign, loaders, user, origCampaignRecord) {
320320
if (campaign.hasOwnProperty("cannedResponses")) {
321321
// Ignore the mocked `id` automatically created on the input by GraphQL
322322
const convertedResponses = campaign.cannedResponses.map(
323-
({ id: cannedResponseId, ...response }) => ({
323+
({ id: _cannedResponseId, ...response }) => ({
324324
...response,
325325
campaign_id: id
326326
})

0 commit comments

Comments
 (0)
Please sign in to comment.