fix logic get fileurl
This commit is contained in:
@@ -57,7 +57,7 @@ export class ResumeSchema extends PothosSchema {
|
||||
description: 'The URL of the resume file.',
|
||||
resolve: async (file, args, ctx) => {
|
||||
const fileUrl = await this.minioService.getFileUrl(
|
||||
file.fileUrl,
|
||||
file.id,
|
||||
'resumes',
|
||||
);
|
||||
if (!fileUrl) {
|
||||
|
||||
Reference in New Issue
Block a user