cloudapi-gql
Advanced tools
Comparing version 7.1.2 to 7.1.3
'use strict'; | ||
const { policy } = require('./'); | ||
const Utils = require('../utils'); | ||
@@ -22,4 +21,4 @@ | ||
if (id) { | ||
const image = await policy(fetch, { id }); | ||
return [image]; | ||
const image = await fetch(`/images/${id}`); | ||
return [Object.assign(image, { tags: Utils.toNameValues(image.tags) })]; | ||
} | ||
@@ -26,0 +25,0 @@ |
{ | ||
"name": "cloudapi-gql", | ||
"version": "7.1.2", | ||
"version": "7.1.3", | ||
"license": "MPL-2.0", | ||
@@ -37,7 +37,7 @@ "repository": "github:joyent/cloudapi-gql", | ||
"hapi": "17.x.x", | ||
"hapi-triton-auth": "2.x.x", | ||
"inert": "5.x.x", | ||
"lab": "15.x.x", | ||
"hapi-triton-auth": "2.x.x", | ||
"stand-in": "4.x.x" | ||
} | ||
} |
162922
4410