Skip to content

Commit

Permalink
fix: fix address image show (#6672)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jun 12, 2023
1 parent 06851c9 commit ec3a44d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ContactModuleAddressImageController extends Controller
{
public function show(Request $request, string $vaultId, string $contactId, int $addressId, int $width, int $height)
{
$address = Address::where('contact_id', $contactId)
$address = Address::where('vault_id', $vaultId)
->findOrFail($addressId);

$url = MapHelper::getStaticImage($address, $width, $height);
Expand Down

0 comments on commit ec3a44d

Please sign in to comment.