Skip to content

Commit

Permalink
chore: Update common-util/useFetchApi.js
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Miller <[email protected]>
  • Loading branch information
atepem and truemiller authored Nov 29, 2024
1 parent a196d5b commit e8e214c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common-util/useFetchApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const useFetchVideos = (limit = 1000) => {
: '';

const videoUploadedUrl = get(videoUploaded, 'data[0].attributes.url');
const video_url = videoUploadedUrl ? `${process.env.NEXT_PUBLIC_API_URL}${videoUploadedUrl} : ''`;
const video_url = videoUploadedUrl ? `${process.env.NEXT_PUBLIC_API_URL}${videoUploadedUrl}` : '';

return {
id,
Expand Down

0 comments on commit e8e214c

Please sign in to comment.