@quesmed/types-rn 2.6.34 → 2.6.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/models/Feedback.d.ts
CHANGED
package/models/Promo.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -279,7 +279,7 @@ const updateQuestionCommentsRemove = (typeId) => (cache, result, options) => {
|
|
|
279
279
|
});
|
|
280
280
|
if (dataFragment) {
|
|
281
281
|
const { comments = [] } = dataFragment;
|
|
282
|
-
const createdAtDate = luxon_1.DateTime.
|
|
282
|
+
const createdAtDate = luxon_1.DateTime.fromSeconds(createdAt);
|
|
283
283
|
const diffInHours = luxon_1.DateTime.now().diff(createdAtDate, 'hours').hours;
|
|
284
284
|
let updatedComments = [];
|
|
285
285
|
if (diffInHours >= 24) {
|