Showing
2 changed files
with
6 additions
and
6 deletions
| ... | @@ -197,7 +197,7 @@ exports.doctorRegister = async ctx => { | ... | @@ -197,7 +197,7 @@ exports.doctorRegister = async ctx => { |
| 197 | doctorId : userId, | 197 | doctorId : userId, |
| 198 | info, | 198 | info, |
| 199 | useYn : 'W', | 199 | useYn : 'W', |
| 200 | - }); | 200 | + }); |
| 201 | 201 | ||
| 202 | await doctorInfo.save(); | 202 | await doctorInfo.save(); |
| 203 | await doctor.save(); | 203 | await doctor.save(); | ... | ... |
| ... | @@ -32,10 +32,10 @@ exports.viewDoctorLicense = async ({ doctorInfo }) => { | ... | @@ -32,10 +32,10 @@ exports.viewDoctorLicense = async ({ doctorInfo }) => { |
| 32 | expires : Date.now() + 1000 * 60 * 15, | 32 | expires : Date.now() + 1000 * 60 * 15, |
| 33 | action : 'read', | 33 | action : 'read', |
| 34 | }; | 34 | }; |
| 35 | - | 35 | + |
| 36 | const [signedUrl] = file ? await file.getSignedUrl(option) : [null]; | 36 | const [signedUrl] = file ? await file.getSignedUrl(option) : [null]; |
| 37 | - | 37 | + |
| 38 | - return signedUrl; | 38 | + return signedUrl; |
| 39 | } catch(e) { | 39 | } catch(e) { |
| 40 | console.log(e); | 40 | console.log(e); |
| 41 | return null; | 41 | return null; |
| ... | @@ -73,9 +73,9 @@ exports.getQrCodeUrl = async ({ qrCodeFileName }) => { | ... | @@ -73,9 +73,9 @@ exports.getQrCodeUrl = async ({ qrCodeFileName }) => { |
| 73 | expires : Date.now() + 1000 * 60 * 15, | 73 | expires : Date.now() + 1000 * 60 * 15, |
| 74 | action : 'read', | 74 | action : 'read', |
| 75 | }; | 75 | }; |
| 76 | - | 76 | + |
| 77 | const [signedUrl] = file ? await file.getSignedUrl(option) : [null]; | 77 | const [signedUrl] = file ? await file.getSignedUrl(option) : [null]; |
| 78 | - | 78 | + |
| 79 | return signedUrl; | 79 | return signedUrl; |
| 80 | } catch(e) { | 80 | } catch(e) { |
| 81 | console.log(e); | 81 | console.log(e); | ... | ... |
-
Please register or login to post a comment