angular-datatables
angular-datatables copied to clipboard
serverside putting id dynamically api string
this is the serverside code of angular 7 datatable i need to put id of organization in api string so i am calling a function to get this.
below there is function to get it

and i get this error

question 1 i need to put id by any mean what is problem before loading to main page this ngonit is called my organization id is not retrieved yet by api response use of set time interval is not good option as time may be less or more i want other one
question 2 error is when it does not get string how can i meet my condition