mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +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,
|
||||
|
||||
Reference in new issue
Block a user