Skip to content

Commit

Permalink
Merge pull request #141 from intri-in/bugFix_122
Browse files Browse the repository at this point in the history
- Version bump to 0.4.4
  • Loading branch information
intri-in authored Jan 22, 2024
2 parents d160961 + e061d85 commit c5cf222
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.4.4
- Version bump to 0.4.4
- Fixed bug #128

v0.4.3
- Version bump to 0.4.3
- Fixed flickering in view select menu on Home Page (Combined View)
Expand Down
4 changes: 2 additions & 2 deletions COMMITMESSAGE.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- Version bump to 0.4.3
- Fixed flickering in view select menu on Home Page (Combined View)
- Version bump to 0.4.4
- Fixed bug #128
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "manage-my-damn-life-nextjs",
"version": "0.4.3",
"version": "0.4.4",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion src/config/constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const VERSION_NUMBER = "0.4.3"
export const VERSION_NUMBER = "0.4.4"
/*
* SYSTEM_DEFAULT_LABEL_PREFIX: Default prefix applied to all system generated labels like
* "My Day"
Expand Down
5 changes: 2 additions & 3 deletions src/pages/api/install/go.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Settings from "@/helpers/api/classes/Settings"
import { User } from "@/helpers/api/classes/User"
import { getConnectionVar } from "@/helpers/api/db"
import { getICS } from "@/helpers/api/ical"
import { FINAL_TABLES, checkifDBExists, createMMDL_DB, getInstallDateFromDB, getListofTables, installTables, isInstalled } from "@/helpers/api/install"
import { FINAL_TABLES, checkifDBExists, createMMDL_DB, getInstallDateFromDB, getListofTables, installTables, isInstalled, testDBConnection } from "@/helpers/api/install"
import { middleWareForAuthorisation } from "@/helpers/api/user"
import { logVar, varNotEmpty } from "@/helpers/general"
import moment from "moment"
Expand All @@ -16,8 +16,7 @@ export default async function handler(req, res) {
// //Test reponse.
// return res.status(200).json({ success: true ,data: {message: "ERROR_MMDL_ALREADY_INSTALLED"}})
// }
var con = getConnectionVar()
var err = con.ping()
var err = await testDBConnection()
if(varNotEmpty(err))
{
res.status(503).json({ success: false ,data: {message: err}})
Expand Down

0 comments on commit c5cf222

Please sign in to comment.