From 2b727d01cd0b62c58ace8b0f9cc159a42b238cae Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Tue, 12 Dec 2023 19:39:44 +0530 Subject: [PATCH] adds funcsignature --- supertokens/accountlinkingRecipeImplementation.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/supertokens/accountlinkingRecipeImplementation.go b/supertokens/accountlinkingRecipeImplementation.go index 939af132..a2318efc 100644 --- a/supertokens/accountlinkingRecipeImplementation.go +++ b/supertokens/accountlinkingRecipeImplementation.go @@ -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, } }