From 8ee490d8b30344ef8101df2643fe5bef465fd0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ina=20Od=C3=A9n=20=C3=96sterbo?= <35953392+inaod568@users.noreply.github.com> Date: Thu, 7 Apr 2022 14:46:20 +0200 Subject: [PATCH] Update dds_web/api/unit.py --- dds_web/api/unit.py | 1 - 1 file changed, 1 deletion(-) diff --git a/dds_web/api/unit.py b/dds_web/api/unit.py index 0d1434070..778a44a51 100644 --- a/dds_web/api/unit.py +++ b/dds_web/api/unit.py @@ -78,7 +78,6 @@ def post(self): json_input = flask.request.json motd = json_input.get("message") if not motd: - raise ddserr.DDSArgumentError(message="No MOTD specified.") flask.current_app.logger.debug(motd)