Skip to content

Check if the bucketId/fileId is empty ('') then throw exception - #54

Closed
freefreeP wants to merge 1 commit into
appwrite:masterfrom
freefreeP:fix-5310-throw-exception-on-empty-file-id
Closed

freefreeP wants to merge 1 commit into
appwrite:masterfrom
freefreeP:fix-5310-throw-exception-on-empty-file-id

Conversation

@freefreeP

Copy link
Copy Markdown

What does this PR do?

Enables to throw an exception on deleteFile(bucketId,fileId) if bucketId or fileId are empty string: bucketId === '' fileId === ''

Related PRs and Issues

A user raised the missing exception on an empty string as an issue (in the main appwrite repository)

Have you read the Contributing Guidelines on issues?

Yes

@probablyArth

Copy link
Copy Markdown

this library is generated using sdk-generator, I don't think they accept manual changes to the SDKs

@stnguyen90

Copy link
Copy Markdown
Contributor

As Arth mentioned, this is a read-only repo as the code is generated by our SDK Generator, and changes made only here would be wiped in the next release.

@stnguyen90 stnguyen90 closed this Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants