Update WikiTree login flow

WikiTree login now appends `&authcode=x` instead of `?authcode=x` to the return URL
This commit is contained in:
Przemek Wiech
2022-04-06 23:30:43 +02:00
parent 6107aef874
commit 2e2c81a770
2 changed files with 3 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ function getArguments(location: H.Location<any>): Arguments {
if (getParam('source') === 'wikitree') {
sourceSpec = {
source: DataSourceEnum.WIKITREE,
authcode: getParam('?authcode'),
authcode: getParam('authcode'),
};
} else if (hash) {
sourceSpec = {