export function model unwanted triggered call to endpond

Hello, i have a model with this code:
export function getCollection(params) {
var data = webix.ajax().get(“http://localhost:8081/data/collection.json”, params);
return new webix.DataCollection({
data: data,
scheme: {
$init: function (obj) {
obj.date = webix.i18n.parseFormatDate(obj.date);
}}
});

But as soon as I import the function into the view:
import {getCollection} from “models/collectionmodel”;
it triggers the call to the function (and so to the endpoint).

How can I import something without trigger the execution?
And why ?

thanks a

[CLOSED] My mistake sorry, probaly something left in cache…