Skip to content

Commit

Permalink
fix error message for generateFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
benptc committed Nov 4, 2021
1 parent 93429b1 commit 8bc73ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const addFrameToObject = function (objectKey, frameKey, frame, callback) {
const generateFrameOnObject = function (objectKey, frameType, relativeMatrix, callback) {
let object = utilities.getObject(objects, objectKey);
if (!object) {
callback(404, error);
callback(404, {failure: true, error: 'object with id ' + objectKey + ' does not exist'});
return;
}

Expand Down

0 comments on commit 8bc73ad

Please sign in to comment.