1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-01-03 12:09:16 +00:00

[Controller] Fix function description in SyncjobModel

This commit is contained in:
FreddleSpl0it
2025-08-19 11:28:54 +02:00
parent ece940b000
commit 35b9940db4

View File

@@ -155,28 +155,28 @@ class SyncjobModel(BaseModel):
def get(self):
"""
Get the mailbox details from the mailcow API.
Get the sync job details from the mailcow API.
:return: Response from the mailcow API.
"""
return self.mailcow.getSyncjob(self.username)
def delete(self):
"""
Get the mailbox details from the mailcow API.
Get the sync job details from the mailcow API.
:return: Response from the mailcow API.
"""
return self.mailcow.deleteSyncjob(self.id)
def add(self):
"""
Get the mailbox details from the mailcow API.
Get the sync job details from the mailcow API.
:return: Response from the mailcow API.
"""
return self.mailcow.addSyncjob(self.getAdd())
def edit(self):
"""
Get the mailbox details from the mailcow API.
Get the sync job details from the mailcow API.
:return: Response from the mailcow API.
"""
return self.mailcow.editSyncjob(self.id, self.getEdit())