Skip to content

Commit d9d23b6

Browse files
committed
Fix compile issue
1 parent b4beb38 commit d9d23b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/databasefake/databasefake.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ func (q *fakeQuerier) GetAuthorizedUserCount(ctx context.Context, params databas
614614
// Call this to match the same function calls as the SQL implementation.
615615
_, err := prepared.CompileToSQL(ctx, rbac.ConfigWithoutACL())
616616
if err != nil {
617-
return nil, err
617+
return -1, err
618618
}
619619

620620
users := make([]database.User, 0, len(q.users))

0 commit comments

Comments
 (0)