-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(Company): make company name editable #272
feat(Company): make company name editable #272
Conversation
@@ -316,5 +319,3 @@ class PrivateQueries( | |||
protected_graphql_schema = graphene.Schema( | |||
query=ProtectedQueries, mutation=ProtectedMutations | |||
) | |||
|
|||
from app.controllers.contacts import * |
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.
🟢 est-ce que tu as une idée de pourquoi cette ligne était tout en bas ?
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.
ça j'ai remarqué que c'était mes extensions Python sur vscode qui rajoutait cela quand je sauvegardais, depuis je les ai désactivé mais cette ligne est passé à la trappe !
app/controllers/company.py
Outdated
get_target_from_args=lambda cls, _, info, **kwargs: Company.query.get( | ||
kwargs["company_id"] | ||
), | ||
error_message="You need to be a company admin to be able to edit company settings", |
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.
🟢 company settings -> company name
- Add UpdateCompanyName class to handle company name update;
df1671f
to
2cc6d44
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
https://trello.com/c/z4LXmpsp/1210-permettre-aux-gestionnaires-de-modifier-le-nom-de-leurs-entreprises
Dépendance
PR: MTES-MCT/mobilic#409