importapifrom"./axios_config";// findAll() on Back End.exportfunctionget_todos_function(){// Get a list of all to dos.// GET "/v1/todos"returnasync(handler)=>{try{constresponse=awaitapi.get("/todos");handler(response.data);}catch(err){console.log(err);}};}