fix: incorrect data passed to api.flags.get

This commit is contained in:
Julian Lam
2023-10-11 12:00:12 -04:00
parent da2390594a
commit cc8fe4353d

View File

@@ -13,7 +13,7 @@ Flags.create = 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) => {