removed a slash before the ? for the url params that may have been the cause of iOS devices using safari to trigger an error when calling updatedComponentPreferences in the binAPI
This commit is contained in:
parent
edf865752d
commit
24c157747c
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ export default function BinProvider(props: PropsWithChildren<Props>) {
|
||||||
) => {
|
) => {
|
||||||
const view = otherTeam ? otherTeam : as
|
const view = otherTeam ? otherTeam : as
|
||||||
let url = "/bins/" + bin + "/updateComponent/" + component + "/preferences";
|
let url = "/bins/" + bin + "/updateComponent/" + component + "/preferences";
|
||||||
if (view) url = url + "/?as=" + view;
|
if (view) url = url + "?as=" + view;
|
||||||
interface request {
|
interface request {
|
||||||
preferences: Object;
|
preferences: Object;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue