(formId: string, watchId: string)
| 89 | } |
| 90 | |
| 91 | export function buildDeleteWatchUrl(formId: string, watchId: string): string { |
| 92 | const finalUrl = `${FORMS_API_BASE}/forms/${encodeURIComponent(formId)}/watches/${encodeURIComponent(watchId)}` |
| 93 | logger.debug('Built Google Forms delete watch URL', { finalUrl }) |
| 94 | return finalUrl |
| 95 | } |
| 96 | |
| 97 | export function buildRenewWatchUrl(formId: string, watchId: string): string { |
| 98 | const finalUrl = `${FORMS_API_BASE}/forms/${encodeURIComponent(formId)}/watches/${encodeURIComponent(watchId)}:renew` |