-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix folder id generation. #1148
Conversation
@@ -127,7 +127,7 @@ class Folder { | |||
fileSharingData: fileSharingData, | |||
folderName: folderName, | |||
folderPath: folderPath, | |||
attempt: attempt++); | |||
attempt: attempt + 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
attempt: attempt + 1); | |
attempt: ++attempt); |
This would also be possible, but I think I like attempt + 1
better.
Visit the preview URL for this PR (updated for commit 4f0675c): https://sharezone-test--pr1148-fix-folder-id-genera-48ydyyap.web.app (expires Thu, 09 Nov 2023 11:11:39 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit 7343fb8.
The
attempt
variable was wrongly increased before leading to this error (too many recursive calls):