Fredrik:
No, it's not you being tired. It looks like I started to fix it in v0.7.2, but didn't fully.
// WEBS OPERATIONScase"Webs.CreateContentType": addToPayload(opt, ["displayName", "parentType", "newFields", "contentTypeProperties"]);break;
Most of the Web Services operations have unique names. In the cases where they don't, I've had to come up with something.
If you need a patch, I'd suggest this:
WSops.CreateContentType = [LISTS, true]; WSops.WebsCreateContentType = [WEBS, true];// LISTS OPERATIONScase"CreateContentType": addToPayload(opt, ["listName", "displayName", "parentType", "fields", "contentTypeProperties", "addToView"]);break;// WEBS OPERATIONScase"WebsCreateContentType": addToPayload(opt, ["displayName", "parentType", "newFields", "contentTypeProperties"]);break;
I can also make that change in my working version, so you'll be fine when I do the next release.
Let me know what you think.
M.