forked from farhoodlabs/paperclip
Update server/src/routes/issues.ts
LGTM Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
@@ -505,7 +505,7 @@ export function issueRoutes(db: Db, storage: StorageService) {
|
||||
filename: a.originalFilename,
|
||||
contentType: a.contentType,
|
||||
byteSize: a.byteSize,
|
||||
contentPath: `/api/attachments/${a.id}/content`,
|
||||
contentPath: withContentPath(a).contentPath,
|
||||
createdAt: a.createdAt,
|
||||
})),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user