👍️[Update] Model : overlay large logのsampleのエンドポイントを修正

This commit is contained in:
misyaguziya
2024-12-21 01:17:22 +09:00
parent c506a1f08f
commit b7e37980e0
4 changed files with 4 additions and 8 deletions

View File

@@ -1351,15 +1351,12 @@ class Controller:
return {"status":200, "result":True}
@staticmethod
def sendTextOverlaySmallLog(data, *args, **kwargs) -> dict:
def sendTextOverlay(data, *args, **kwargs) -> dict:
if config.OVERLAY_SMALL_LOG is True:
if model.overlay.initialized is True:
overlay_image = model.createOverlayImageSmallMessage(data)
model.updateOverlaySmallLog(overlay_image)
return {"status":200, "result":data}
@staticmethod
def sendTextOverlayLargeLog(data, *args, **kwargs) -> dict:
if config.OVERLAY_LARGE_LOG is True:
if model.overlay.initialized is True:
overlay_image = model.createOverlayImageLargeMessage(data)