mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
[API] Providers get with identifier
Providers fetch objects using a full identifier. This ensures a consistent interface. Related to https://github.com/nasa/openmct/issues/1279
This commit is contained in:
parent
81de6119fe
commit
d813029046
@ -150,10 +150,6 @@ define([
|
||||
throw new Error('Provider does not support [' + method + '].');
|
||||
}
|
||||
|
||||
if (method === 'get') {
|
||||
return provider.get(identifier.key);
|
||||
}
|
||||
|
||||
return provider[method].apply(provider, arguments);
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user