Skip to content

Commit

Permalink
Fixing signatureSha256 bugs. Used fetch instead of limitApi.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomilar committed Nov 1, 2023
1 parent e8476f5 commit 85bebac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/framework/EditorToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export default {
// Compact operation removes arrays when length is 1, but some fields need to be arrays in the data that's saved
turnFieldsBackIntoArrays: function(rld) {
var fields = [
"owner", "reader", "signature", "competency", "level", "relation", "skos:hasTopConcept", "skos:narrower", "skos:broader", "skos:broadMatch", "skos:closeMatch",
"owner", "reader", "signature", "signatureSha256", "competency", "level", "relation", "skos:hasTopConcept", "skos:narrower", "skos:broader", "skos:broadMatch", "skos:closeMatch",
"skos:exactMatch", "skos:narrowMatch", "skos:related"
];
for (var i = 0; i < fields.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/modalContent/MultiEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export default {
// Compact operation removes arrays when length is 1, but some fields need to be arrays in the data that's saved
turnFieldsBackIntoArrays: function(rld) {
var fields = [
"owner", "reader", "signature", "competency", "level", "relation", "skos:hasTopConcept", "skos:narrower", "skos:broader", "skos:broadMatch", "skos:closeMatch",
"owner", "reader", "signature", "signatureSha256", "competency", "level", "relation", "skos:hasTopConcept", "skos:narrower", "skos:broader", "skos:broadMatch", "skos:closeMatch",
"skos:exactMatch", "skos:narrowMatch", "skos:related"
];
for (var i = 0; i < fields.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/lode/components/ThingEditing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ export default {
// Compact operation removes arrays when length is 1, but some fields need to be arrays in the data that's saved
turnFieldsBackIntoArrays: function(rld) {
var fields = [
"owner", "reader", "signature", "competency", "level", "relation", "skos:hasTopConcept", "skos:narrower", "skos:broader", "skos:broadMatch", "skos:closeMatch",
"owner", "reader", "signature", "signatureSha256", "competency", "level", "relation", "skos:hasTopConcept", "skos:narrower", "skos:broader", "skos:broadMatch", "skos:closeMatch",
"skos:exactMatch", "skos:narrowMatch", "skos:related"
];
for (var i = 0; i < fields.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const actions = {
return new Promise((resolve, reject) => {
var url = EcRemote.urlAppend(payload.server, payload.service);
url = EcRemote.upgradeHttpToHttps(url);
limitApi.get(url, {
fetch(url, {
headers: payload.headers
}).then((resp) => {
if (payload.success) {
Expand Down

0 comments on commit 85bebac

Please sign in to comment.