~otheb/kb

459747aa605071c36e45f17d1a642614f866bf93 — Olie Ayre 2 months ago cab83df
Fixed a variety of small issues

discovered whilst writing the web UI and CLI programs.
2 files changed, 4 insertions(+), 3 deletions(-)

M kb-api/dub.json
M kb-api/main.d
M kb-api/dub.json => kb-api/dub.json +1 -1
@@ 10,7 10,7 @@
		"."
	],
	"license": "AGPL-3.0",
	"name": "kbs",
	"name": "kb-api",
	"sourceFiles": [
		"main.d"
	],

M kb-api/main.d => kb-api/main.d +3 -2
@@ 148,8 148,9 @@ class router {
			res.status = StatusCodes.notModified ;
			return ;
		}
		a.old = e.old ;
		a.tags = e.tags ;
		a.old   = e.old   ;
		a.tags  = e.tags  ;
		a.title = e.title ;
		if ( a.content != e.content ) {
			// shift history
			a.history = new hist( a.time , a.content ) ~ a.history ;