forgot
This commit is contained in:
@@ -200,7 +200,7 @@ func (d *Workflow) ExtractFromPlantUML(plantUML multipart.File, request *tools.A
|
||||
func (d *Workflow) generateResource(datas []resources.ResourceInterface, request *tools.APIRequest) error {
|
||||
for _, d := range datas {
|
||||
access := d.GetAccessor(request)
|
||||
if _, _, err := access.LoadOne(d.GetID()); err != nil {
|
||||
if _, _, err := access.LoadOne(d.GetID()); err == nil {
|
||||
continue
|
||||
}
|
||||
_, _, err := access.StoreOne(d)
|
||||
|
||||
Reference in New Issue
Block a user