Add run_template action
This commit is contained in:
parent
0ab3eb837b
commit
1dbcce5c28
|
|
@ -241,7 +241,7 @@ void _checkResponse(String url, http.Response response) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!kReleaseMode) {
|
if (!kReleaseMode) {
|
||||||
print('Response: ${formatSize(response.body.length)}');
|
print('Response: ${formatSize(response.bodyBytes.length)}');
|
||||||
if (Config.DEBUG_REQUESTS) {
|
if (Config.DEBUG_REQUESTS) {
|
||||||
printWrapped('${response.statusCode} ${response.body}');
|
printWrapped('${response.statusCode} ${response.body}');
|
||||||
print('Headers: ${response.headers}');
|
print('Headers: ${response.headers}');
|
||||||
|
|
|
||||||
|
|
@ -1336,7 +1336,7 @@ class _PdfPreviewState extends State<_PdfPreview> {
|
||||||
void _loadPdf() async {
|
void _loadPdf() async {
|
||||||
final state = widget.state!;
|
final state = widget.state!;
|
||||||
final settingsUIState = state.settingsUIState;
|
final settingsUIState = state.settingsUIState;
|
||||||
final url = state.credentials.url+ '/live_design';
|
final url = state.credentials.url + '/live_design';
|
||||||
|
|
||||||
final request = PdfPreviewRequest(
|
final request = PdfPreviewRequest(
|
||||||
entityType: widget.entityType.apiValue,
|
entityType: widget.entityType.apiValue,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue