Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8eaee2844f | ||
| 440a19c3a7 | |||
| 4ae6d84240 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "flyer-crawler",
|
||||
"version": "0.9.92",
|
||||
"version": "0.9.93",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "flyer-crawler",
|
||||
"version": "0.9.92",
|
||||
"version": "0.9.93",
|
||||
"dependencies": {
|
||||
"@bull-board/api": "^6.14.2",
|
||||
"@bull-board/express": "^6.14.2",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "flyer-crawler",
|
||||
"private": true,
|
||||
"version": "0.9.92",
|
||||
"version": "0.9.93",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"npm:start:dev\" \"vite\"",
|
||||
|
||||
@@ -1360,7 +1360,8 @@ CREATE TRIGGER on_auth_user_created
|
||||
FOR EACH ROW EXECUTE FUNCTION public.handle_new_user();
|
||||
|
||||
-- 2. Create a reusable function to automatically update 'updated_at' columns.
|
||||
DROP FUNCTION IF EXISTS public.handle_updated_at();
|
||||
-- CASCADE drops dependent triggers; they are recreated by the DO block below
|
||||
DROP FUNCTION IF EXISTS public.handle_updated_at() CASCADE;
|
||||
|
||||
CREATE OR REPLACE FUNCTION public.handle_updated_at()
|
||||
RETURNS TRIGGER AS $$
|
||||
|
||||
@@ -2775,7 +2775,8 @@ CREATE TRIGGER on_auth_user_created
|
||||
FOR EACH ROW EXECUTE FUNCTION public.handle_new_user();
|
||||
|
||||
-- 2. Create a reusable function to automatically update 'updated_at' columns.
|
||||
DROP FUNCTION IF EXISTS public.handle_updated_at();
|
||||
-- CASCADE drops dependent triggers; they are recreated by the DO block below
|
||||
DROP FUNCTION IF EXISTS public.handle_updated_at() CASCADE;
|
||||
|
||||
CREATE OR REPLACE FUNCTION public.handle_updated_at()
|
||||
RETURNS TRIGGER AS $$
|
||||
|
||||
@@ -836,10 +836,7 @@ describe('ExpiryRepository', () => {
|
||||
const result = await repo.getUsersWithExpiringItems(mockLogger);
|
||||
|
||||
expect(result).toHaveLength(2);
|
||||
expect(mockQuery).toHaveBeenCalledWith(
|
||||
expect.stringContaining('ea.is_enabled = true'),
|
||||
undefined,
|
||||
);
|
||||
expect(mockQuery).toHaveBeenCalledWith(expect.stringContaining('ea.is_enabled = true'));
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user