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: new match dissolve reason: student did not turn in CoC #1186

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

realmayus
Copy link
Contributor

Add new match dissolve reason which tracks whether the match was dissolved due to a student not having turned in a certificate of conduct

Closes https://github.com/corona-school/project-user/issues/1401

@realmayus realmayus temporarily deployed to backend-feat-no-coc-dea-eegzvp January 20, 2025 14:40 Inactive
@@ -11,7 +11,7 @@ import { userForStudent } from '../user';
import { CertificateState } from '../certificate';
import { removeAllPushSubcriptions } from '../notification/channels/push';

export async function deactivateStudent(student: Student, silent = false, reason?: string) {
export async function deactivateStudent(student: Student, silent = false, noCoC = false, reason?: string) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we should just allow to pass dissovle reasons instead of using a flag for a special case.

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