forked from Yara724/api
Fix links
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
} from "./outer-damage-parts";
|
||||
import { ClaimVehicleTypeV2 } from "src/static/outer-car-parts-catalog";
|
||||
import { canonicalizeResendDocumentKey } from "./claim-resend-document-keys";
|
||||
import { resolveStoredFileUrl } from "./urlCreator";
|
||||
|
||||
export type ExpertResendCarPartV2 = {
|
||||
id?: number | null;
|
||||
@@ -161,8 +162,7 @@ export function mapExpertResendCarPartsForClient(
|
||||
const capturedFromStore =
|
||||
typeof stored.captured === "boolean" ? stored.captured : undefined;
|
||||
const url =
|
||||
cap?.url ||
|
||||
(cap?.path && options.buildUrl ? options.buildUrl(cap.path) : undefined);
|
||||
resolveStoredFileUrl(cap);
|
||||
|
||||
return {
|
||||
id: sp.id,
|
||||
|
||||
Reference in New Issue
Block a user