From 095e4d6cf20c57612a5bcb2e94f36aa0e5158de2 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 16 May 2017 20:04:11 +0200 Subject: category --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.js') diff --git a/index.js b/index.js index ff727f2..8921784 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,7 @@ var app = okcms.createApp({ date: {type: 'string'}, title: {type: 'string'}, medium: {type: 'string'}, - category: {type: 'string'}, + category: {type: 'enum', options:['Surveillance','Drones','Facial Recognition'}, keywords: {type: 'text'}, description: {type: 'text'}, image: {type: 'image'}, -- cgit v1.2.3-70-g09d2