mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-16 09:41:13 +10:00
chore: prettier pass
This commit is contained in:
@ -58,15 +58,14 @@
|
||||
Authorize client?
|
||||
</h1>
|
||||
<p class="mt-6 text-base leading-7 text-zinc-400">
|
||||
"{{ clientData.name }}" has requested access to your Drop
|
||||
account.
|
||||
"{{ clientData.name }}" has requested access to your Drop account.
|
||||
</p>
|
||||
<div
|
||||
action="/api/v1/client/callback"
|
||||
method="post"
|
||||
class="mt-10 gap-x-6"
|
||||
>
|
||||
<input type="text" class="hidden" name="id" :value="clientId" >
|
||||
<input type="text" class="hidden" name="id" :value="clientId" />
|
||||
<button
|
||||
class="rounded-md bg-blue-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600"
|
||||
@click="() => authorize_wrapper()"
|
||||
@ -94,8 +93,9 @@
|
||||
<p
|
||||
class="mt-6 font-semibold font-display text-lg leading-8 text-zinc-100"
|
||||
>
|
||||
Accepting this request will allow "{{ clientData.name }}"
|
||||
on "{{ clientData.platform }}" to:
|
||||
Accepting this request will allow "{{ clientData.name }}" on "{{
|
||||
clientData.platform
|
||||
}}" to:
|
||||
</p>
|
||||
</div>
|
||||
<div class="mt-8 max-w-2xl sm:mt-12 lg:mt-14">
|
||||
@ -149,7 +149,7 @@ const route = useRoute();
|
||||
const clientId = route.params.id;
|
||||
|
||||
const clientData = await $dropFetch(
|
||||
`/api/v1/client/auth/callback?id=${clientId}`
|
||||
`/api/v1/client/auth/callback?id=${clientId}`,
|
||||
);
|
||||
|
||||
const completed = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user