Correct bug

This commit is contained in:
Loic GUEGAN 2016-05-09 12:29:33 +02:00
parent 4bac080418
commit c5f4a11b12
3 changed files with 12 additions and 9 deletions

View file

@ -5,7 +5,7 @@ mainApp.factory('Image', ['$http', 'Identity', function ($http, Identity) {
var data = {};
data.images = null; // Images
data.axioms = {};
data.axioms.protected = [true, false];
data.axioms.protected = ["false", "true"];
data.axioms.visibility = ["public", "private"];
/**
* Parse uploadImage anwser