Просмотр исходного кода

[Controller] Fix function description in SyncjobModel

FreddleSpl0it 2 недель назад
Родитель
Сommit
35b9940db4
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      data/Dockerfiles/controller/mailcow-adm/models/SyncjobModel.py

+ 4 - 4
data/Dockerfiles/controller/mailcow-adm/models/SyncjobModel.py

@@ -155,28 +155,28 @@ class SyncjobModel(BaseModel):
 
 
     def get(self):
     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: Response from the mailcow API.
         """
         """
         return self.mailcow.getSyncjob(self.username)
         return self.mailcow.getSyncjob(self.username)
 
 
     def delete(self):
     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: Response from the mailcow API.
         """
         """
         return self.mailcow.deleteSyncjob(self.id)
         return self.mailcow.deleteSyncjob(self.id)
 
 
     def add(self):
     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: Response from the mailcow API.
         """
         """
         return self.mailcow.addSyncjob(self.getAdd())
         return self.mailcow.addSyncjob(self.getAdd())
 
 
     def edit(self):
     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: Response from the mailcow API.
         """
         """
         return self.mailcow.editSyncjob(self.id, self.getEdit())
         return self.mailcow.editSyncjob(self.id, self.getEdit())