Fixes 'spo eventreceiver remove' command#4034
Conversation
Adam-it
left a comment
There was a problem hiding this comment.
looks good.
will do some local testing before I merge 👍
|
@Adam-it one thing I forgot to update, I updated the telemetry |
sure |
| listTitle: typeof args.options.listTitle !== 'undefined', | ||
| listUrl: typeof args.options.listUrl !== 'undefined', | ||
| scope: typeof args.options.scope !== 'undefined', | ||
| scope: args.options.scope, |
There was a problem hiding this comment.
| scope: args.options.scope, | |
| scope: args.options.scope || 'web', |
@milanholemans when not defined I will log the web scope as this seems to be the default one when this is left undefined.
There was a problem hiding this comment.
If I check the docs, web should be the default value.
The scope. Can be either "site" or "web". Defaults to "web". Only applicable when not specifying any of the list properties.
Thank you for fixing this again ❤️
I totally forgot to fix it 😁
There was a problem hiding this comment.
sorry... web... totally got that the other way around looking at the old conditions before your change 😜.
no problem 👍
|
added fix up |
Fixes 'spo eventreceiver remove' command. Closes #4033
Remarks
Wrong endpoints were called. Reworked the entire command.