Commit c98130b
committed
fix: save token to correct provider ID based on deployment type
Determine provider ID from auth data's enterpriseUrl field instead
of using the provider.id parameter, which may not reflect the actual
deployment type. This ensures tokens are saved to the correct provider
(github-copilot or github-copilot-enterprise).1 parent 9ad32c8 commit c98130b
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | | - | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments