-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: failing create teams request #636
Conversation
src/app/views/common/share.ts
Outdated
} | ||
|
||
if (sampleHeaders && sampleHeaders.length > 0) { | ||
const headers = hashEncode(JSON.stringify(sampleHeaders)); | ||
shareLink = `${shareLink}&headers=${headers}`; | ||
shareLink += `${shareLink}&headers=${headers}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be removed or stay as before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should actually stay as before
@@ -66,7 +66,7 @@ export class QueryInput extends Component<IQueryInputProps, any> { | |||
background: getStyleFor(selectedVerb), | |||
}; | |||
|
|||
const httpMethodsToDisplay = (mode === Mode.TryIt && !authenticated ) ? [httpMethods[0]] : httpMethods; | |||
const httpMethodsToDisplay = (mode === Mode.TryIt || !authenticated) ? [httpMethods[0]] : httpMethods; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably correct but we should consider if users may be confused minus text to say they need to sign in.
Overview
Running the
create a team
query breaks the app like soThe characters previously unsupported when hashEncoding are now supported.
Notes
Optional. Ancillary topics, caveats, alternative strategies that didn't work out, anything else.
Testing Instructions
https://graph.microsoft.com/beta/teams
adding the request body described in the docs here