Skip to content

Commit

Permalink
Merge branch 'main' into GrantBirki-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki authored Dec 30, 2023
2 parents 0c3159a + 77c41e3 commit 73b994a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resolvers/taskResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ module.exports = {
});
},
map(data, args, context) {
return context.data.map.get(context, data.map_id);
if (data.map_id) return context.data.map.get(context, data.map_id);
return null;
}
},
TaskObjective: {
Expand Down

0 comments on commit 73b994a

Please sign in to comment.