mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Move from 418 (i am a teapot) to 424 missing dep
This commit is contained in:
parent
76e8b01335
commit
645542b459
@ -31,7 +31,7 @@ class ApiAnnounceIndexHandler(BaseApiHandler):
|
||||
data = self.helper.get_announcements()
|
||||
if not data:
|
||||
return self.finish_json(
|
||||
418,
|
||||
424,
|
||||
{
|
||||
"status": "error",
|
||||
"data": "Failed to get announcements",
|
||||
@ -94,7 +94,7 @@ class ApiAnnounceIndexHandler(BaseApiHandler):
|
||||
announcements = self.helper.get_announcements()
|
||||
if not announcements:
|
||||
return self.finish_json(
|
||||
418,
|
||||
424,
|
||||
{
|
||||
"status": "error",
|
||||
"data": "Failed to get current announcements",
|
||||
|
Loading…
Reference in New Issue
Block a user