Move lookupApi into apiManager (#3540)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-08-04 11:36:13 -04:00
1 parent 574aea40b4
commit ee158e33df
16 files changed
+70 -90

No files matched your search

@@ -105,7 +105,7 @@ export class CreateResource extends React.Component<Props> {
await Promise.all(
resources.map(data => {
return resourceApplierApi.update(data)
.then(item => createdResources.push(item.getName()))
.then(item => createdResources.push(item.metadata.name))
.catch((err: JsonApiErrorParsed) => errors.push(err.toString()));
})
);