mirror of
https://github.com/devfake/flox.git
synced 2024-11-15 06:32:34 +01:00
patch userdata
This commit is contained in:
parent
c621d2d2e7
commit
fcf4a43a62
@ -12,7 +12,7 @@
|
||||
|
||||
Route::group(['middleware' => 'auth'], function() {
|
||||
Route::get('/get-userdata', 'UserController@userData');
|
||||
Route::post('/change-userdata', 'UserController@changeUserData');
|
||||
Route::patch('/change-userdata', 'UserController@changeUserData');
|
||||
|
||||
Route::get('/search-tmdb', 'TMDBController@search');
|
||||
Route::post('/add', 'ItemController@add');
|
||||
|
@ -56,7 +56,7 @@
|
||||
const password = this.password;
|
||||
|
||||
if(username != '') {
|
||||
this.$http.post(`${config.api}/change-userdata`, {username, password}).then(value => {
|
||||
this.$http.patch(`${config.api}/change-userdata`, {username, password}).then(value => {
|
||||
this.success = true;
|
||||
this.clearSuccessMessage();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user