Can I do this... ```const {data, error} = await su...
# help
p
Can I do this...
Copy code
const {data, error} = await supabase
        .from('SignalJourneyAudiences')
        .insert([
          {
            segment: newSegment,
            enabled: false,
          },
        ])
n
Hello @Paul! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
p
as im getting a duplicate key error
o
Hi Please don't create multiple thread when asking help. Use the current one associated
n
Paul (2022-03-23)
g
Yes, that is how you want to do it, without specifying the audience_id. If you ever did write that column directly you many have messed up the sequence.
p
I think it was just a delay from the changing of the settings in the table as it works now 😄
thanks guys
n
Thread was archived by @Paul. Anyone can send a message to unarchive it.