lib/command/diff.rb in narou-2.9.1 vs lib/command/diff.rb in narou-2.9.2
- old
+ new
@@ -239,9 +239,10 @@
temp.close
temp
end
def get_diff_list(id)
+ @novel_data ||= Database.instance.get_data("id", id)
list = {
id: id,
title: @novel_data["title"],
list: []
}