Skip to content
Back

Path of function

  • 0
  • Functions
HackStackMaster
27 Nov, 2024, 13:04

hat is the path of function ? what ever I hit with, getting this response

TypeScript
responseBody: '{"motto":"Build like a team of hundreds_","learn":"https://appwrite.io/docs","connect":"https://appwrite.io/discord","getInspired":"https://builtwith.appwrite.io"}',
TL;DR
Developers are discussing an issue with a function that is unexpectedly returning a specific response. The conversation involves checking for mistakes, updating a git repository, and clarifying the path of the function. The function seems to consistently return a specific response, leading to a request for more precision. Solution: Verify the function's logic and make sure it is correctly handling the object and returning the desired response. Double-check the function's code and the object being worked with.
#! /root/home
27 Nov, 2024, 13:11

can you be more precise?

HackStackMaster
27 Nov, 2024, 13:14

I am envoking my function, but it always return this response

Guille
27 Nov, 2024, 13:32

It's because you are returning that object, how are you working with your function?

#! /root/home
27 Nov, 2024, 13:41

download current build and check for changes

HackStackMaster
27 Nov, 2024, 13:41

I am updating it with git repo

#! /root/home
27 Nov, 2024, 13:42

then check there. sometimes we make dumb mistakes and realize it later. you must be returning this object without realization

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more