Commit 9ee0917
committed
fix(drupal): Use localgov_services_page for PDF conversion
LocalGov Drupal doesn't have a 'page' content type. Changed the
PDF-to-Web conversion createNode endpoint to use 'localgov_services_page'
instead, which does exist and has the required body field.
Fixes 500 error when creating draft pages from converted PDFs.1 parent 6182e42 commit 9ee0917
1 file changed
Lines changed: 2 additions & 17 deletions
File tree
- cloudformation/scenarios/localgov-drupal/drupal/web/modules/custom/ndx_aws_ai/src/Controller
Lines changed: 2 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
244 | 245 | | |
245 | | - | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
252 | | - | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | 255 | | |
271 | 256 | | |
272 | 257 | | |
| |||
0 commit comments