feat(activities): attach compressed photos to activity notes
Photos on an activity are shrunk with the form-builder compressor and stored only when they fit under 200KB. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -162,6 +162,7 @@ describe('promote from prior', () => {
|
||||
} as never,
|
||||
{ system: async () => ({}), toSummary: (row: unknown) => row } as never,
|
||||
{} as never,
|
||||
{} as never,
|
||||
);
|
||||
|
||||
const dto = await service.promoteFromPrior(actor, 'act1');
|
||||
@@ -191,6 +192,7 @@ describe('promote from prior', () => {
|
||||
} as never,
|
||||
{ system: async () => ({}), toSummary: (row: unknown) => row } as never,
|
||||
{} as never,
|
||||
{} as never,
|
||||
);
|
||||
|
||||
await assert.rejects(service.promoteFromPrior({ ...actor, priorLens: 'off' }, 'act1'), ForbiddenException);
|
||||
|
||||
Reference in New Issue
Block a user