#datetime Attribute is automatically assigned when post data is empty

3 messages · Page 1 of 1 (latest)

dapper bone
#

I have 2 datetime attributes and only one of them needs to be set the other can be set if any one wants to. However when I submit directly to the API, Appwrite automatically assigns the current date and time of the API submission to the empty posted value. Is there a way that I can allow the attribute to be empty? It is already setup to allow the default value to be 'null'

red jackal
#

what's the code look like that makes this call?

dapper bone
#

It is a POST request to create a document, the 2 fields are submitted empty like the image.