Skip to content

Commit

Permalink
minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
meetulr committed Oct 31, 2024
1 parent b60c96d commit 9353e15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/resolvers/User/tagsAssignedWith.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ export const tagsAssignedWith: UserResolvers["tagsAssignedWith"] = async (
const parseGraphQLConnectionArgumentsResult =
await parseGraphQLConnectionArguments({
args,
parseCursor: (args) =>
parseCursor: /* c8 ignore start */ (args) =>
parseCursor({
...args,
userId: parent._id,
}),
/* c8 ignore stop */
maximumLimit: MAXIMUM_FETCH_LIMIT,
});

Expand Down
6 changes: 2 additions & 4 deletions tests/resolvers/UserTag/usersAssignedTo.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import "dotenv/config";
import {
parseCursor,
Expand All @@ -10,10 +9,9 @@ import { beforeAll, afterAll, describe, it, expect } from "vitest";
import type { TestUserTagType } from "../../helpers/tags";
import type {
TestOrganizationType,
createTestUser,
type TestUserType,
TestUserType,
} from "../../helpers/userAndOrg";

import { createTestUser } from "../../helpers/userAndOrg";
import { createTagsAndAssignToUser } from "../../helpers/tags";
import { GraphQLError } from "graphql";
import type { DefaultGraphQLArgumentError } from "../../../src/utilities/graphQLConnection";
Expand Down

0 comments on commit 9353e15

Please sign in to comment.