mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
5c95551e8f
refactor: fixes login api success call refactor: fixes login respose for success case
12 lines
211 B
JavaScript
12 lines
211 B
JavaScript
/**
|
|
* Mock response for logo api
|
|
* @returns {promise}
|
|
*/
|
|
export default function() {
|
|
const response = {
|
|
text(){
|
|
return 'http://xyz.com/image.jpg';
|
|
}
|
|
};
|
|
return Promise.resolve(response);
|
|
}
|