瀏覽代碼

Fix: set folder info data project name column is nullable

liweihao 5 年之前
父節點
當前提交
cbc4f75112
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/example/kdan_data_center/datacenter/folder/data/FolderInfoData.kt

+ 1 - 1
src/main/java/com/example/kdan_data_center/datacenter/folder/data/FolderInfoData.kt

@@ -36,7 +36,7 @@ data class FolderInfoData(
                 @SerializedName("size") val size: Long,
                 @SerializedName("size") val size: Long,
                 @SerializedName("created_at") val createdAt: String,
                 @SerializedName("created_at") val createdAt: String,
                 @SerializedName("updated_at") val updatedAt: String,
                 @SerializedName("updated_at") val updatedAt: String,
-                @SerializedName("project_name") val projectName: String,
+                @SerializedName("project_name") val projectName: String?,
                 @SerializedName("project_created_at") val projectCreatedAt: String?,
                 @SerializedName("project_created_at") val projectCreatedAt: String?,
                 @SerializedName("version") val version: Long?,
                 @SerializedName("version") val version: Long?,
                 @SerializedName("cover_name") val coverName: String?,
                 @SerializedName("cover_name") val coverName: String?,