mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Improve deploy provider IDs
This commit is contained in:
3 files changed
+19
-10
No files matched your search
@@ -65,8 +65,9 @@ export function useNetlifyOAuth() {
|
||||
}
|
||||
|
||||
// Create a new Netlify provider with the OAuth token
|
||||
// Use the preset ID 'netlify' for OAuth-added providers
|
||||
const newProvider: NetlifyProvider = {
|
||||
id: crypto.randomUUID(),
|
||||
id: 'netlify',
|
||||
name: result.username ? `Netlify (${result.username})` : 'Netlify',
|
||||
type: 'netlify',
|
||||
apiKey: result.accessToken,
|
||||
|
||||
@@ -69,8 +69,9 @@ export function useVercelOAuth() {
|
||||
}
|
||||
|
||||
// Create a new Vercel provider with the OAuth token
|
||||
// Use the preset ID 'vercel' for OAuth-added providers
|
||||
const newProvider: VercelProvider = {
|
||||
id: crypto.randomUUID(),
|
||||
id: 'vercel',
|
||||
name: result.username ? `Vercel (${result.username})` : 'Vercel',
|
||||
type: 'vercel',
|
||||
apiKey: result.accessToken,
|
||||
|
||||
Reference in new issue
Block a user