Skip to content

Commit 1648c22

Browse files
committed
fixup! fix public schema
1 parent 2e95753 commit 1648c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/oidcclaims_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func (g userGenerator) withLink(lt database.LoginType, rawJSON json.RawMessage)
163163
if sql, ok := db.(rawUpdater); ok {
164164
// The only way to put arbitrary json into the db for testing edge cases.
165165
// Making this a public API would be a mistake.
166-
err := sql.UpdateUserLinkRawJSON(context.Background(), u.ID, rawJSON)
166+
err := sql.UpdateUserLinkRawJSON(context.Background(), user.ID, rawJSON)
167167
require.NoError(t, err)
168168
} else {
169169
// no need to test the json key logic in dbmem. Everything is type safe.

0 commit comments

Comments
 (0)