I have a Next Js Website where the Signed in Users can Come and Post.
There are only Certain days in a week which we allow the Users to Post like "You can Only Post on Tuesday".
And It works Good. But I Tried to Send a POST Request with Postman/Insomnia to the Appwrite server with a Different Date and Different Time like Changed the Date to a Year Before and It thought that It is TRUE and Created it on the Day I sent It.
Can I run any Server Side Checks to Fix this? I can't run Cloud functions because I'm using Kubernetes and It doesn't support it.
Any Help Would be Appreciated.
??
Hi - I am not sure about why it thinks as true, do you have any screenshots so I can take a look?
Hi,
This is the POST request.
Now I can change anything Like date & time
And it uses the Date & Time which gets from this Request
As I'm aware, currently there no other way to do that without cloud functions
Oh.😭
Recommended threads
- Manual install docs are out of sync with...
I looked into the manual install docs issue for Appwrite 1.9.0 and wanted to share the findings, since this seems to need a bigger docs decision. What I found:...
- SSL certificate issuance failed:
Domain verifies but SSL cert fails, tried different subdomains like .api and .aw, used cname and CAA, no prior CAA existed on website, tried Multiple CAAs at on...
- Migration from Self-Hosted to Cloud seem...
Hello, I'm trying to migrate from my Self-Hosted Appwrite instance to Cloud, and can't figure out what's going wrong. - If I initiate the migration from Cloud...