From a8ca397d0e855ca82152fe2599134d64b3e8579f Mon Sep 17 00:00:00 2001 From: Fabian Wallentowitz Date: Tue, 16 May 2017 21:57:29 +0200 Subject: [PATCH] made imagedistro optional (#9) close #7 --- source/openwebif/api.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/openwebif/api.d b/source/openwebif/api.d index 4e4939d..7c65e1b 100644 --- a/source/openwebif/api.d +++ b/source/openwebif/api.d @@ -1,5 +1,5 @@ module openwebif.api; -import vibe.data.serialization:name; +import vibe.data.serialization : name, optional; /// struct Movie { @@ -170,6 +170,7 @@ struct About struct Info { string brand; + @optional string imagedistro; string model; }