frontend/src/helpers/generateAttachmentUrl.js

3 lines
138 B
JavaScript

export const generateAttachmentUrl = (taskId, attachmentId) => {
return `${window.API_URL}/tasks/${taskId}/attachments/${attachmentId}`
}