-
-
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
Add option to change the type of user #1349
Conversation
Visit the preview URL for this PR (updated for commit 72a584b): https://sharezone-test--pr1349-change-account-type-61q55fat.web.app (expires Thu, 07 Mar 2024 19:59:18 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b |
import 'package:cloud_functions/cloud_functions.dart'; | ||
import 'package:user/user.dart'; | ||
|
||
class ChangeTypeOfUserRepository { |
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.
Its not really a Repository, lets just call it ChangeTypeOfUserService
instead I'd say.
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.
Or anything else, just not Repository since it does not follow the Repository pattern.
Don't forget to change the PR if you implement my suggestion on the backend ( |
Description
A user can change twice every two weeks their type of user in the app setting without contacting the support.
Demo
Changing type of user
Screen.Recording.2024-03-03.at.17.46.57.mov
When the user changed too often the type of user
Screen.Recording.2024-03-03.at.17.48.48.mov
Related tickets
Closes #556