HI,
I am using an appwrite function to bring me certain information based on its date, but the problem is when I try to group them with Nodejs it takes the date as it is stored.
I need to get the time difference to make an exact calculation I have appwrite version 1.3.4
not really sure what you mean...
Are you trying to get the headers being sent to your 1.3.4 function?
@Binyamin Yes
Headers aren't passed to the function in version 1.3.4 you'll need to upgrade to version 1.4.6 and recrete the function using the new function syntax.
In your case I'll recommed do as follow
- Backup everything!
- Upgrade to version
1.3.8
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.3.8
- <a:ablobjoin:635256362850451476> Run migrate
- Upgrade to version
1.4.6
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="upgrade" \
appwrite/appwrite:1.4.6
- <a:ablobjoin:635256362850451476> Run migrate
- Redeploy the function.
If you want to stay in that version, you can try this archived solution https://github.com/BoolCode/appwrite-funcover With Flatten Headers enabled
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- ClientException with SocketException: Cl...
hi <@564158268319203348> i have noticed this 500 status code in my function requests, it seems its not able to connect to the internet in the function as reque...