-
Notifications
You must be signed in to change notification settings - Fork 7
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
Retranscription du PAI dans le backend #3350
Conversation
aa65f6c
to
78a7c06
Compare
78a7c06
to
6337500
Compare
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.
Un peu surpris de voir autant de code non utilisé (cf les quelques commentaires) et non lié au PAI.
Je suis assez mal à l'aise d'ajouter du code "mort" au repo. Ici c'est une quantité qui parait en plus non négligeable.
C'est quoi la logique derrière ?
* @param collectiviteId identifiant de la collectivité | ||
* @param doNotThrow vrai pour ne pas générer une exception | ||
*/ | ||
async verifieAccesRestreintCollectivite( |
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.
Je ne trouve aucun usage de cette méthode ailleurs dans la PR. Normal ?
* @param tokenInfo token de l'utilisateur | ||
* @return les informations crm de l'utilisateur | ||
*/ | ||
async getUserCrmInfo(tokenInfo: SupabaseJwtPayload): Promise<userCrm | null> { |
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.
Idem ici je ne trouve aucun usage de cette méthode ?
import { integer, pgTable, serial, varchar } from 'drizzle-orm/pg-core'; | ||
import { collectiviteTable } from './collectivite.table'; | ||
|
||
export const collectiviteTestTable = pgTable('collectivite_test', { |
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.
Idem. je ne vois pas l'usage de cette table ?
No description provided.