Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3d7eb5a

Browse files
committedJan 5, 2023
fix: challenge timeline template delete response
1 parent 1968205 commit 3d7eb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/services/ChallengeTimelineTemplateService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ fullyUpdateChallengeTimelineTemplate.schema = {
212212
* @returns {Object} the deleted challenge type timeline template
213213
*/
214214
async function deleteChallengeTimelineTemplate(challengeTimelineTemplateId) {
215-
const templates = await challengeTimelineTemplateDomain.delete(
215+
const { items: templates } = await challengeTimelineTemplateDomain.delete(
216216
getLookupCriteria("id", challengeTimelineTemplateId)
217217
);
218218

0 commit comments

Comments
 (0)
Please sign in to comment.