Skip to content

Commit

Permalink
bug(hotfix-bookings-url): Hotfix bookings url for frontend
Browse files Browse the repository at this point in the history
- remove /accommodations in url

[Finishes #170720725]
  • Loading branch information
nignanthomas committed Jan 15, 2020
1 parent 7ae0649 commit 80fef1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/notifSender.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const notifSender = async (
URL = host ? `${host}/${table}s/${object.id}` : `${APP_URL_BACKEND}/api/v1/${table}s/${object.id}`;
break;
default:
URL = host ? `${host}/accommodations/${table}s/${object.id}` : `${APP_URL_BACKEND}/api/v1/accommodations/${table}s/${object.id}`;
URL = host ? `${host}/${table}s/${object.id}` : `${APP_URL_BACKEND}/api/v1/accommodations/${table}s/${object.id}`;
break;
}
const activityMessage = `A ${table} has been ${activity}. Click here to view: ${URL}.`;
Expand Down

0 comments on commit 80fef1b

Please sign in to comment.