Skip to content

Commit

Permalink
Merge pull request #5625 from maxi-blocks/issue-5623-backend
Browse files Browse the repository at this point in the history
Issue 5623 backend
  • Loading branch information
elzadj committed Jun 20, 2024
2 parents 8d9af74 + 8cde64c commit 75b4fc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extensions/DC/getDCMedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ const getMediaById = async (id, type) => {
const getDCMedia = async (dataRequest, clientId) => {
const data = await getDCEntity(dataRequest, clientId);

if (!data) return null;

const { field, source, type } = dataRequest;
let id;

Expand Down

0 comments on commit 75b4fc7

Please sign in to comment.