Supabase policy problem #197
Unanswered
Kradhityaw
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
var client = await SupabaseHelper.GetClientAsync();
var organization = new Organization
{
InvitationCode = textBoxInvCode.Text,
Name = textBoxOrgName.Text,
Website = textBoxOrgWeb.Text
};
if (client.Auth.CurrentUser == null)
{
MessageHelper.ShowError("Not authenticated");
return;
}
await client.From().Insert(organization);
var newMemberOrg = new OrganizationMember
{
OrganizationId = organization.Id,
UserId = client.Auth.CurrentUser.Id,
Role = "manager"
};
await client.From().Insert(newMemberOrg);
cannot add data in winform .net 8.0, what caused that?
Beta Was this translation helpful? Give feedback.
All reactions