質問編集履歴
1
"の位置を正しく変更。
test
CHANGED
File without changes
|
test
CHANGED
@@ -110,7 +110,7 @@
|
|
110
110
|
|
111
111
|
return [
|
112
112
|
|
113
|
-
"thumbnail: imageData!
|
113
|
+
"thumbnail": imageData!,
|
114
114
|
|
115
115
|
"screen_name": "dasfasfaa",
|
116
116
|
|
@@ -126,9 +126,9 @@
|
|
126
126
|
|
127
127
|
```
|
128
128
|
|
129
|
-
"thumbnail: imageData!
|
129
|
+
"thumbnail": imageData!を削除してみるとinterceptメソッド内のobjectの中でthumbnail field is requiredとなりますが、
|
130
130
|
|
131
|
-
上記のように"thumbnail: imageData!
|
131
|
+
上記のように"thumbnail": imageData!を追加するとinterceptメソッドも実行されずswitch文の.failureに入りAPIKit.SessionTaskError error 1となります。
|
132
132
|
|
133
133
|
#
|
134
134
|
|