OSDN Git Service

Doutaku を 1.0 にアップデート
[kcd/KCD.git] / KCD / AirBaseMapper.swift
index 2d15e4a..79b1711 100644 (file)
@@ -12,7 +12,7 @@ import SwiftyJSON
 final class AirBaseMapper: JSONMapper {
         
     let apiResponse: APIResponse
-    let configuration = MappingConfiguration(entity: AirBase.entity,
+    let configuration = MappingConfiguration(entity: AirBase.self,
                                              dataKeys: ["api_data", "api_air_base"],
                                              primaryKeys: ["area_id", "rid"],
                                              editorStore: ServerDataStore.oneTimeEditor())