From 5288b20f2fbef7aae16a01ebcc2cf4f6e52db84d Mon Sep 17 00:00:00 2001 From: Inex Code Date: Thu, 20 Jan 2022 10:45:50 +0300 Subject: [PATCH] Register channel resource --- nix_channel_server/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nix_channel_server/app.py b/nix_channel_server/app.py index d48cb4b..3d18f62 100644 --- a/nix_channel_server/app.py +++ b/nix_channel_server/app.py @@ -55,6 +55,7 @@ def create_app(): return jsonify({"message": "Invalid auth key"}), 401 api.add_resource(Channel, '/nixos-selfpricacy') + api.add_resource(GetNewChannel, '/nixos-selfpricacy/upgrade') return app if __name__ == '__main__':