Positions TUI #20
|
@ -1,5 +1,3 @@
|
|||
from threading import Thread
|
||||
|
||||
from asciimatics.widgets import Layout, Label, Text
|
||||
from zope import component
|
||||
|
||||
|
@ -40,7 +38,7 @@ class SetPositionsView(CeoFrame):
|
|||
self.save()
|
||||
body = {pos: username for pos, username in self.data.items() if username}
|
||||
|
||||
self._model.deferred_req = defer(http_post, f'/api/positions', json=body)
|
||||
self._model.deferred_req = defer(http_post, '/api/positions', json=body)
|
||||
self._model.operations = UpdateMemberPositionsTransaction.operations
|
||||
self._model.confirm_lines = [
|
||||
"The positions will be updated as follows:",
|
||||
|
|
Loading…
Reference in New Issue