Fix widget backup

This commit is contained in:
MM20 2023-04-14 00:20:52 +02:00
parent 789c964d82
commit e6751541dd
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -95,7 +95,6 @@ internal class WidgetRepositoryImpl(
val widgets = dao.exportWidgets(limit = 100, offset = page * 100)
val jsonArray = JSONArray()
for (widget in widgets) {
if (widget.type != WidgetType.INTERNAL.value) continue
jsonArray.put(
jsonObjectOf(
"config" to widget.config,