Skip to content

Commit

Permalink
fix: status code fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
userrounakk committed Aug 18, 2024
1 parent ffb32d4 commit 93f4df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion art-gallery/app/controllers/theme.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const fs = require("fs");
const index = async (req, res) => {
try {
const themes = await Theme.find();
return res.status(500).json({
return res.status(200).json({
status: "success",
message: "Themes Fetched Successfully.",
themes: themes,
Expand Down

0 comments on commit 93f4df5

Please sign in to comment.