async getSharedOwners()

in src/lib/service/custos-service/custos-service-sharing.js [85:100]


    async getSharedOwners({clientId, entityId}) {

        const axiosInstance = await this.custosService.axiosInstance;

        const res = await axiosInstance.get(
            `${CustosService.ENDPOINTS.SHARING}/share`,
            {
                params: {
                    "entity.id": entityId,
                    "client_id": clientId
                }
            }
        ).then(({data: {shared_data}}) => shared_data);

        return res;
    }