File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
apps/webapp/app/v3/services Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ export class TaskRunTemplateService extends BaseService {
2424 }
2525
2626 const metadataPacket = data . metadata
27- ? handleMetadataPacket ( data . metadata , "application/json" )
27+ ? handleMetadataPacket (
28+ data . metadata ,
29+ "application/json" ,
30+ env . TASK_RUN_METADATA_MAXIMUM_SIZE
31+ )
2832 : undefined ;
2933
3034 const taskRunTemplate = await this . _prisma . taskRunTemplate . create ( {
Original file line number Diff line number Diff line change @@ -163,7 +163,8 @@ export class TriggerTaskServiceV1 extends BaseService {
163163 const metadataPacket = body . options ?. metadata
164164 ? handleMetadataPacket (
165165 body . options ?. metadata ,
166- body . options ?. metadataType ?? "application/json"
166+ body . options ?. metadataType ?? "application/json" ,
167+ env . TASK_RUN_METADATA_MAXIMUM_SIZE
167168 )
168169 : undefined ;
169170
You can’t perform that action at this time.
0 commit comments