mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
[mastodon-client] Fix login with clients that leave a trailing + in the scope parameter
This commit is contained in:
parent
8b41cba3e1
commit
89bc799765
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ const props = defineProps<{
|
||||||
lang?: string;
|
lang?: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const _scopes = props.scope?.split(" ") ?? ['read'];
|
const _scopes = props.scope?.split(" ")?.filter(p => p.length > 0) ?? ['read'];
|
||||||
|
|
||||||
let state = $ref<string | null>(null);
|
let state = $ref<string | null>(null);
|
||||||
let code = $ref<string | null>(null);
|
let code = $ref<string | null>(null);
|
||||||
|
|
Loading…
Reference in a new issue