Hi what is the problem with `upsert()`, every time...
# help
p
Hi what is the problem with
upsert()
, every time I want to edit or create an entry I get an
error in $: not enough input
. The entry is saved regularly, but I can't get the data from the request. In the past, this has always worked wonderfully.
Copy code
js
 const { data } = await client.from<ICosts>('costs')
.upsert({
   ...costBlockWriter(payload),
   user_id: user.value.id
})
n
Hello @pixelhusten! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! 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
For Create i need to get the Data from the Request, because i need the ID from the new Row
s