Well i found a solution with the users query :
const axiosInstanceForNativeAPI = axios.create({ baseURL: ENDPOINT_URL, headers: { Authorization: ADMIN_TOKEN_FOR_NATIVE_API }, }); export const getUserByEmail = email => axiosInstanceForNativeAPI.get(`/users?searchBy=email&query=${email}`); export const getUserByUsername = username => axiosInstanceForNativeAPI.get(`/users?searchBy=username&query=${username}`);how can i increment values in the templating engine
-
so in template.js templating engine i want to increment variables so i can have something like j++, where j is an integer variable beinging incremented by 1, is there any way i can have variables or simply have statements in the templating engine - so i can initiate variable and then increment it?
thanks