Created
February 12, 2017 17:50
-
-
Save LCHCAPITALHUMAIN/ef9e10cd8afd087b3f70661215687996 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var fd = new FormData(); | |
| fd.append('file', vm.selectedLogo); | |
| Restangular.one('/api/admin/settings/logo') | |
| .withHttpConfig({transformRequest: angular.identity}) | |
| .customPOST(fd, '', undefined, {'Content-Type': undefined}) | |
| .then(function() { | |
| getLogo(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment