Skip to content

Commit 84f84a5

Browse files
committed
fix sql value function
1 parent 88da3eb commit 84f84a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,6 @@ func (a *UserLinkClaims) Scan(src interface{}) error {
226226
return xerrors.Errorf("unexpected type %T", src)
227227
}
228228

229-
func (a *UserLinkClaims) Value() (driver.Value, error) {
229+
func (a UserLinkClaims) Value() (driver.Value, error) {
230230
return json.Marshal(a)
231231
}

0 commit comments

Comments
 (0)