mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: incorrect data passed to api.flags.get
This commit is contained in:
@@ -13,7 +13,7 @@ Flags.create = async (req, res) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Flags.get = async (req, res) => {
|
Flags.get = async (req, res) => {
|
||||||
helpers.formatApiResponse(200, res, await api.flags.get(req, req.params.flagId));
|
helpers.formatApiResponse(200, res, await api.flags.get(req, req.params));
|
||||||
};
|
};
|
||||||
|
|
||||||
Flags.update = async (req, res) => {
|
Flags.update = async (req, res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user