Fix params type

This commit is contained in:
Presley Pizzo
2022-10-17 20:50:45 +00:00
parent 1b142b45e7
commit ea9f240445
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -717,7 +717,7 @@ func (q *fakeQuerier) GetWorkspaceCount(ctx context.Context, arg database.GetWor
}
//nolint:gocyclo
func (q *fakeQuerier) GetAuthorizedWorkspaceCount(ctx context.Context, arg database.GetWorkspacesParams, authorizedFilter rbac.AuthorizeFilter) (int64, error) {
func (q *fakeQuerier) GetAuthorizedWorkspaceCount(ctx context.Context, arg database.GetWorkspaceCountParams, authorizedFilter rbac.AuthorizeFilter) (int64, error) {
q.mutex.RLock()
defer q.mutex.RUnlock()