Skip to content

Commit

Permalink
adds funcsignature
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Dec 12, 2023
1 parent 5cfb55d commit 2b727d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions supertokens/accountlinkingRecipeImplementation.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,15 @@ func makeRecipeImplementation(querier Querier) AccountLinkingRecipeInterface {
return &result, nil
}

canCreatePrimaryUser := func(recipeUserId RecipeUserID, userContext UserContext) (CanCreatePrimaryUserResponse, error) {
// TODO:..
return CanCreatePrimaryUserResponse{}, nil
}

// TODO:...
return AccountLinkingRecipeInterface{
GetUsersWithSearchParams: &getUsers,
GetUser: &getUser,
CanCreatePrimaryUser: &canCreatePrimaryUser,
}
}

0 comments on commit 2b727d0

Please sign in to comment.