1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00
Files
Boostnote/src/browser/main/services/Settings.js
2015-06-21 02:40:06 +09:00

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
}
})