Skip to content

Commit

Permalink
fix: Use PUT instead of PATCH for metadata updates (NUWCDIVNPT#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
cd-rite authored Mar 15, 2024
1 parent eba4c0a commit d4dd35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/js/SM/CollectionForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ SM.Collection.ManagePanel = Ext.extend(Ext.Panel, {
const data = grid.getValue()
const result = await Ext.Ajax.requestPromise({
url: `${STIGMAN.Env.apiBase}/collections/${_this.collectionId}/metadata`,
method: 'PATCH',
method: 'PUT',
jsonData: data
})
const sortstate = grid.store.getSortState()
Expand Down

0 comments on commit d4dd35e

Please sign in to comment.