From 87191fbe8f36b12905f86648e86cdbab51a2a426 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 31 Oct 2011 11:45:16 +0100 Subject: [PATCH] add content type attribute --- PVE/API2/Storage/Content.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm index c21061e..239522d 100644 --- a/PVE/API2/Storage/Content.pm +++ b/PVE/API2/Storage/Content.pm @@ -79,6 +79,7 @@ __PACKAGE__->register_method ({ next if !$data || !$data->{$storeid}; foreach my $item (@{$data->{$storeid}}) { + $item->{content} = $ct; push @$res, $item; } }