Skip to content

Commit ce898e3

Browse files
committed
Fix cloud functions not being exported properly.
1 parent c19d346 commit ce898e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/src/data/web_data_repository.dart

+4
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ class WebDataRepository extends NetworkDataRepository {
204204
required String layoutID,
205205
required PublishSource source,
206206
}) async {
207+
print('Downloading conditions for $layoutID');
207208
try {
208209
final Response result = await post(
209210
Uri.parse('$cloudFunctionsBaseURL/getPublishedLayoutConditionsRequest'),
@@ -229,8 +230,11 @@ class WebDataRepository extends NetworkDataRepository {
229230
final SDKLayoutConditions conditions =
230231
SDKLayoutConditions.fromJson({...modelDoc, 'id': layoutID});
231232

233+
print('Layout Conditions [${conditions.id}]: ${conditions.conditions.length}');
234+
232235
return conditions;
233236
} catch (e, stacktrace) {
237+
print('Error downloading conditions for $layoutID');
234238
print(e);
235239
print(stacktrace);
236240
return null;

0 commit comments

Comments
 (0)