我是NodeJS的新手,并且一直在关注一个简单的教程。这是我的代码
{
"type" : "error",
"code" : "Forbidden"
}
但是当我启动服务器并转到localhost:8080时,我收到以下
let op = CKModifyRecordsOperation(recordsToSave: recordsToModify, recordIDsToDelete: [])
op.savePolicy = CKRecordSavePolicy.ChangedKeys
op.modifyRecordsCompletionBlock = { saved, deleted, err in
println("modified all ... \(saved.count) w err '\(err)' \(err != nil ? err.userInfo : [:])")
}
self.privateDB.addOperation(op)
有什么想法吗?