Skip to content

Commit 22f4c0a

Browse files
committed
Fix team file reporter
1 parent 39d14ce commit 22f4c0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/controller/file.controller.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ export class FileController {
6060
context.serviceKey
6161
);
6262

63+
if (!(file.reporter && file.reporter.length > 0)) {
64+
file.reporter = teamId;
65+
}
66+
6367
file = await serviceClient.service.upload(serviceClient.client, file);
6468

6569
if (file.uploaded) {

0 commit comments

Comments
 (0)