From b9e7dfab099b4fcb3c323c8a2d2446f42da62074 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Tue, 10 Aug 2021 18:44:24 +0200 Subject: [PATCH] Add 'require' statements for JSON/YAML --- src/invidious/user/preferences.cr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/invidious/user/preferences.cr b/src/invidious/user/preferences.cr index 8703d10e..82e381ba 100644 --- a/src/invidious/user/preferences.cr +++ b/src/invidious/user/preferences.cr @@ -3,6 +3,9 @@ # all the associated validation/parsing routines. # +require "json" +require "yaml" + class Preferences include JSON::Serializable include YAML::Serializable