|
|
@@ -10,7 +10,7 @@ export default class OcrRecordController {
|
|
|
public async index({ request }: HttpContextContract) {
|
|
|
const res = await this.paginationService.paginate(request.all())
|
|
|
for (let e of res) {
|
|
|
- if (e.img) {
|
|
|
+ if (e.img && e.img !== '-') {
|
|
|
e.img = await Drive.getSignedUrl(new URL(e.img).pathname.replace(/^\//, ''))
|
|
|
}
|
|
|
}
|