Add run_template action

This commit is contained in:
Hillel Coren 2023-11-20 17:16:24 +02:00
parent 0ab3eb837b
commit 1dbcce5c28
2 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@ void _checkResponse(String url, http.Response response) {
*/
if (!kReleaseMode) {
print('Response: ${formatSize(response.body.length)}');
print('Response: ${formatSize(response.bodyBytes.length)}');
if (Config.DEBUG_REQUESTS) {
printWrapped('${response.statusCode} ${response.body}');
print('Headers: ${response.headers}');

View File

@ -1336,7 +1336,7 @@ class _PdfPreviewState extends State<_PdfPreview> {
void _loadPdf() async {
final state = widget.state!;
final settingsUIState = state.settingsUIState;
final url = state.credentials.url+ '/live_design';
final url = state.credentials.url + '/live_design';
final request = PdfPreviewRequest(
entityType: widget.entityType.apiValue,