fixed type in admin image endpoint