Commit ac794b8
committed
fix: extract notebook ID from index 2, not index 0
The createNotebook RPC response format is [title, null, uuid, ...].
We were extracting from index 0 (the title string) instead of
index 2 (the UUID). This caused all subsequent RPC calls to use
the notebook title as the source-path instead of the UUID, which
the API rejects with error code [5].
Also fixed listNotebooks to use the same correct index.1 parent eb37117 commit ac794b8
1 file changed
+10
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
187 | 184 | | |
188 | 185 | | |
189 | 186 | | |
| |||
220 | 217 | | |
221 | 218 | | |
222 | 219 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 220 | + | |
| 221 | + | |
229 | 222 | | |
230 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
231 | 226 | | |
232 | 227 | | |
233 | 228 | | |
234 | | - | |
| 229 | + | |
235 | 230 | | |
236 | 231 | | |
237 | 232 | | |
| |||
0 commit comments