refactor(db): consolidate BOARD_READER_ID in helpers + escape backslash in LIKE (P3-50, P1-26)
This commit is contained in:
1 parent
b15f6a1415
commit
8867f50b37
6 files changed
+336
-6
No files matched your search
@@ -8,6 +8,7 @@ import type {
|
||||
StandupReport,
|
||||
} from "@shared/types";
|
||||
import {
|
||||
BOARD_READER_ID,
|
||||
type ReadAll,
|
||||
type Transaction,
|
||||
} from "./helpers";
|
||||
@@ -415,7 +416,6 @@ export function buildCompanySettingsMethods(
|
||||
budgetWarnings: number;
|
||||
unreadMessages: number;
|
||||
} {
|
||||
const BOARD_READER_ID = "__board__";
|
||||
const pendingApprovals =
|
||||
(
|
||||
getDb()
|
||||
|
||||
Reference in new issue
Block a user