add patient
This commit is contained in:
@@ -7,14 +7,14 @@ import (
|
||||
// example of middleware
|
||||
func init() {
|
||||
createPreMw = append(createPreMw,
|
||||
createMw{Name: "create-installation", Func: plugin.Create})
|
||||
createMw{Name: "sync-create-installation", Func: plugin.Create})
|
||||
|
||||
createSimxLogMw = append(createSimxLogMw,
|
||||
createLogMw{Name: "create-log", Func: plugin.CreateLog})
|
||||
createLogMw{Name: "create-sync-log", Func: plugin.CreateLog})
|
||||
|
||||
updatePreMw = append(updatePreMw,
|
||||
updateMw{Name: "update-installation", Func: plugin.Update})
|
||||
updateMw{Name: "sync-update-installation", Func: plugin.Update})
|
||||
|
||||
deletePreMw = append(deletePreMw,
|
||||
deleteMw{Name: "delete-installation", Func: plugin.Delete})
|
||||
deleteMw{Name: "sync-delete-installation", Func: plugin.Delete})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user