Skip to content
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

Merged

Conversation

gaspard-lonchampt
Copy link
Contributor

@gaspard-lonchampt gaspard-lonchampt commented Sep 13, 2023

@@ -316,5 +319,3 @@ class PrivateQueries(
protected_graphql_schema = graphene.Schema(
query=ProtectedQueries, mutation=ProtectedMutations
)

from app.controllers.contacts import *
Copy link
Contributor

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 ?

Copy link
Contributor Author

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 !

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",
Copy link
Contributor

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;
@gaspard-lonchampt gaspard-lonchampt force-pushed the feat/make-companyName-editable-for-manager branch from df1671f to 2cc6d44 Compare September 19, 2023 15:32
@sonarcloud
Copy link

sonarcloud bot commented Sep 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@gaspard-lonchampt gaspard-lonchampt merged commit 5fe245a into master Sep 22, 2023
3 checks passed
@gaspard-lonchampt gaspard-lonchampt deleted the feat/make-companyName-editable-for-manager branch September 22, 2023 08:24
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.

2 participants