MCPcopy Create free account
hub / github.com/dailydotdev/apps / claimClaimableItem

Function claimClaimableItem

packages/shared/src/graphql/users.ts:1134–1145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1132`;
1133
1134export const claimClaimableItem = async (): Promise<boolean> => {
1135 try {
1136 const {
1137 claimUnclaimedItem: { claimed },
1138 } = await gqlClient.request<{
1139 claimUnclaimedItem: { claimed: boolean };
1140 }>(CLAIM_CLAIMABLE_ITEM_MUTATION);
1141 return claimed;
1142 } catch (error) {
1143 return false;
1144 }
1145};
1146
1147const UPLOAD_CV_MUTATION = gql`
1148 mutation UploadResume($resume: Upload!) {

Callers 1

onLoginCheckFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected