Skip to content

Commit

Permalink
fix: filestore unsubscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstefanequilobe committed Aug 10, 2022
1 parent 8b0d183 commit 56ed2be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/controllers/fileStore.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export const unsubscribeFromFileStore = (req, res) => {
try {
const { orgUid } = req.body;

FileStore.unsubscribeFileStore(orgUid);
FileStore.unsubscribeFromFileStore(orgUid);

res.status(200).json({
message: `Can not unsubscribe the fileStore from ${orgUid}`,
});
} catch (error) {
res.status(400).json({
message: 'Can not retreive file list from filestore',
message: 'Can not retrieve file list from filestore',
error: error.message,
});
}
Expand All @@ -43,7 +43,7 @@ export const getFileList = async (req, res) => {
res.json(files);
} catch (error) {
res.status(400).json({
message: 'Can not retreive file list from filestore',
message: 'Can not retrieve file list from filestore',
error: error.message,
});
}
Expand Down

0 comments on commit 56ed2be

Please sign in to comment.