Skip to content

Commit 45d80cc

Browse files
committed
oh but this type is nicer
1 parent b75399e commit 45d80cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codersdk/idpsync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"golang.org/x/xerrors"
1313
)
1414

15-
type IDPSyncMapping[ResourceIdType any] struct {
15+
type IDPSyncMapping[ResourceIdType uuid.UUID | string] struct {
1616
// The IdP claim the user has
1717
Given string
1818
// The ID of the Coder resource the user should be added to

0 commit comments

Comments
 (0)