mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -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;
|
||||
}>();
|
||||
|
||||
const _scopes = props.scope?.split(" ") ?? ['read'];
|
||||
const _scopes = props.scope?.split(" ")?.filter(p => p.length > 0) ?? ['read'];
|
||||
|
||||
let state = $ref<string | null>(null);
|
||||
let code = $ref<string | null>(null);
|
||||
|
|
Loading…
Reference in a new issue