-
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: 517 secure form #315
Conversation
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.
GJ 🍻
I left some comments
apps/api/src/seed/seed-helpers.ts
Outdated
@@ -95,8 +95,8 @@ export async function createNiceCourses( | |||
lessonData.type === LESSON_TYPES.PRESENTATION | |||
? "pptx" | |||
: lessonData.type === LESSON_TYPES.VIDEO | |||
? "mp4" | |||
: null, | |||
? "mp4" |
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.
it looks like a messy shift
@@ -9,8 +9,8 @@ import type { UserWithCredentials } from "test/factory/user.factory"; | |||
type CamelToSnake<T extends string, P extends string = ""> = string extends T | |||
? string | |||
: T extends `${infer C0}${infer R}` | |||
? CamelToSnake<R, `${P}${C0 extends Lowercase<C0> ? "" : "_"}${Lowercase<C0>}`> | |||
: P; | |||
? CamelToSnake<R, `${P}${C0 extends Lowercase<C0> ? "" : "_"}${Lowercase<C0>}`> |
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.
It looks like a messy shift
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.
Rename PR and merge it, GJ 🍻
Jira issue(s)
https://selleolabs.atlassian.net/browse/LC-517
Overview
Add modal to protect the user from data loss in questions form