louis.barclay
07/30/2021, 10:56 AMAzura
07/30/2021, 11:04 AMeverconfusedguy
07/30/2021, 11:20 AMeverconfusedguy
07/30/2021, 11:20 AMAnt
07/30/2021, 2:34 PMlouis.barclay
07/30/2021, 3:28 PMlouis.barclay
07/30/2021, 3:28 PMlouis.barclay
08/05/2021, 2:53 PM{"data":null,"error":{"message":"Could not read body: json: cannot unmarshal object into Go struct field GenerateLinkParams.type of type string","status":400}}
louis.barclay
08/05/2021, 2:54 PMexport const getMagicLink = async (email) => {
return await supabaseAdmin.auth.api.generateLink({ email, type: "invite" });
};
louis.barclay
08/05/2021, 2:54 PMlouis.barclay
08/05/2021, 2:55 PMtype
and email
are not in an objectlouis.barclay
08/05/2021, 2:55 PMAnt
08/07/2021, 4:32 PMAnt
08/07/2021, 4:32 PMAnt
08/07/2021, 4:32 PMgenerateLink('invite','me@email.com')