馃悰 Bug Report: [Server Side SDK] - Incorrect Return Value for Functions.getDeployment
with Invalid Deployment ID
#6225
Labels
bug
Something isn't working
Functions.getDeployment
with Invalid Deployment ID
#6225
馃憻 Reproduction steps
When invoking the
functions.getDeployment(...)
method in the Server Side SDK with an emptydeploymentId
, the function unexpectedly returns a list of all deployments.This behavior is similar to the
functions.listDeployments(...)
method.Above returns:
馃憤 Expected behavior
When the deploymentId is empty, the SDK should throw an
AppwriteException
instead of returning all deployments.馃憥 Actual Behavior
The backend returns a list of all deployments/build.
馃幉 Appwrite version
Different version (specify in environment)
馃捇 Operating system
Linux
馃П Your Environment
Tested on :
1.3.8
&1.4.2
.馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: