Skip to content

Commit

Permalink
Update WorldBrowserPage.vue
Browse files Browse the repository at this point in the history
Change POST to GET on object properties call in WorldBrowserPage
  • Loading branch information
SalleeMatthew authored and dburleson committed Sep 4, 2024
1 parent 223f660 commit 4e756dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spa/src/pages/world-browser/WorldBrowserPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ export default Vue.extend({
},
async updateObject(object){
this.sharedObjects = this.sharedObjects.filter(obj => obj.id != parseInt(object.obj_id));
const updatedObject = await this.$http.post(`/object_instance/${ object.obj_id }/properties/`);
const updatedObject = await this.$http.get(`/object_instance/${ object.obj_id }/properties/`);
this.sharedObjects.push(updatedObject.data.objectInstance[0]);
},
startSocketListeners(): void {
Expand Down

0 comments on commit 4e756dd

Please sign in to comment.