(params: { formId: string; responseId: string })
| 42 | } |
| 43 | |
| 44 | export function buildGetResponseUrl(params: { formId: string; responseId: string }): string { |
| 45 | const { formId, responseId } = params |
| 46 | const finalUrl = `${FORMS_API_BASE}/forms/${encodeURIComponent(formId)}/responses/${encodeURIComponent(responseId)}` |
| 47 | logger.debug('Built Google Forms get response URL', { finalUrl }) |
| 48 | return finalUrl |
| 49 | } |
| 50 | |
| 51 | export function buildGetFormUrl(formId: string): string { |
| 52 | const finalUrl = `${FORMS_API_BASE}/forms/${encodeURIComponent(formId)}` |