Replace promise chain with async/await functions in API.
Replace promise chain with async/await functions in API.

mihailgaberov/mickey-gallery,mihailgaberov/media-library,mihailgaberov/mickey-gallery,mihailgaberov/media-library