mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
style: plain punctuation in the new comments and test names
This commit is contained in:
@@ -193,7 +193,7 @@ export class CollabNotesRepository extends TrekRepository<CollabNotes> {
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* CB6 (`formatNote`'s hydration read) — `SELECT id, filename, original_name,
|
||||
* CB6 (`formatNote`'s hydration read): `SELECT id, filename, original_name,
|
||||
* file_size, mime_type FROM trip_files WHERE note_id = ? AND deleted_at IS
|
||||
* NULL`. A note's file can be moved to the trash from the file manager; it
|
||||
* leaves the note then, as a chat attachment leaves its message.
|
||||
|
||||
@@ -931,7 +931,7 @@ export class UsersRepository extends TrekRepository<Users> {
|
||||
* `SELECT id FROM users WHERE LOWER(email) = LOWER(?) [AND id != ?] AND COALESCE(is_guest, 0) = 0`
|
||||
*
|
||||
* Both sides folded by SQLite's own `LOWER()` (`lowerParam` binds the RAW
|
||||
* value) — program rule 18. Every email collision check goes through here
|
||||
* value), program rule 18. Every email collision check goes through here
|
||||
* (profile, admin create and update), because login and the OIDC fallback
|
||||
* match case-insensitively: a second account that differs only in case
|
||||
* would make them pick whichever row comes first.
|
||||
|
||||
Reference in New Issue
Block a user