import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/regenerator";import{getAppStorage as t}from"../../../../clients/jsonApi/index.js";function n(r){return a.apply(this,arguments)}function a(){return(a=r(e.mark((function r(n){var a,o,c;return e.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=n.wellId,o=n.md,r.prev=1,r.next=4,t("corva","directional.accuracy",a,{query:"{data.actual_point.measured_depth#eq#".concat(o,"}"),sort:"{timestamp: -1}",limit:1});case 4:c=r.sent,r.next=10;break;case 7:r.prev=7,r.t0=r.catch(1),console.error(r.t0);case 10:return r.abrupt("return",c);case 11:case"end":return r.stop()}}),r,null,[[1,7]])})))).apply(this,arguments)}export{n as fetchDirectionalAccuracyRecords};
//# sourceMappingURL=api.js.map
