mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
14 lines
300 B
JavaScript
14 lines
300 B
JavaScript
/* global angular */
|
|
angular.module('codexen')
|
|
.factory('Settings', function ($http, apiUrl) {
|
|
var changePassword = function (params) {
|
|
var url = apiUrl + 'settings/change_password'
|
|
|
|
return $http.post(url, params)
|
|
}
|
|
|
|
return {
|
|
changePassword: changePassword
|
|
}
|
|
})
|