Add the oil to the pressure cooker to cook over medium heat (press the 'Saute' button to begin cooking at medium saute heat). When the oil is hot, add the chopped onion and sweet potato, and cook, stirring frequently, until they begin to soften and brown (about 5 minutes). Add all of the other ingredients and stir to combine.
Cover the pressure cooker with the lid, ensuring that the valve is in sealed position. Cook under high pressure for 1 minute (with Instant Pot, press ‘Cancel’ to stop saute mode before closing the lid, then choose ‘Manual’ mode, and adjust time to 1 minute).
When the cooking time is complete, allow the pot to de-pressurize naturally for at least 10 minutes before opening the lid. Serve with rice or warm flatbread.