nodebb-plugin-onekite-calendar 2.0.33 → 2.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.js +3 -0
- package/package.json +1 -1
- package/plugin.json +1 -1
package/lib/api.js
CHANGED
|
@@ -1042,6 +1042,9 @@ api.createReservation = async function (req, res) {
|
|
|
1042
1042
|
start: formatFR(start),
|
|
1043
1043
|
end: formatFR(end),
|
|
1044
1044
|
total: resv.total || 0,
|
|
1045
|
+
// Link to the plugin ACP page so managers can process the request quickly.
|
|
1046
|
+
// Kept as `adminUrl` to match the email template placeholder.
|
|
1047
|
+
adminUrl: `${normalizeBaseUrl(meta)}/admin/plugins/calendar-onekite`,
|
|
1045
1048
|
});
|
|
1046
1049
|
}
|
|
1047
1050
|
}
|
package/package.json
CHANGED
package/plugin.json
CHANGED