Skip to content

Commit

Permalink
fix: typo in add filestore model function
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 15, 2023
1 parent 5da7af7 commit 79d3384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cadt",
"version": "1.6.10",
"version": "1.6.11",
"_comment": "DONT CHANGE MAJOR UNLESS DATAMODEL CHANGES: The major version corresponds to the datamodel version your using, so 2.0.0 means it'll use datamodel v2",
"private": true,
"bin": "build/server.js",
Expand Down
2 changes: 1 addition & 1 deletion src/models/file-store/file-store.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class FileStore extends Model {
static async addFileToFileStore(SHA256, fileName, base64File) {
const myOrganization = await Organization.getHomeOrg();

if (myOrganization) {
if (!myOrganization) {
throw new Error('No homeorg detected');
}

Expand Down

0 comments on commit 79d3384

Please sign in to comment.