-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugSomething isn't workingSomething isn't working
Description
👟 Reproduction steps
const files = await databases.listDocuments(
appwriteConfig.databaseId,
appwriteConfig.filesCollectionId,
queries
);
node-appwrite
version ^17.0.0
, Use databases.listDocument
to obtain the file list, and the query parameter project
of the returned file access path is undefined, eg:
{
url: 'https://fra.cloud.appwrite.io/v1/storage/buckets/xxxxx/files/xxx/view?project=undefined'
}
which will result in the file being inaccessible
👍 Expected behavior
url query params project
is not undefined
👎 Actual Behavior
url query params project
is undefined
🎲 Appwrite version
"node-appwrite": "^17.0.0",
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working