Skip to content

Commit

Permalink
Changed the confusing dev feature flag name.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanu-chahal committed Dec 8, 2024
1 parent ec02a36 commit f64ab02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions extension-requests/local-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ const parseExtensionRequestParams = (uri, nextPageParamsObject) => {
return nextPageParamsObject;
};

async function updateExtensionRequest({ id, body, dev }) {
const url = dev
async function updateExtensionRequest({ id, body, underDevFeatureFlag }) {
const url = underDevFeatureFlag
? `${API_BASE_URL}/extension-requests/${id}?dev=true`
: `${API_BASE_URL}/extension-requests/${id}`;
const res = await fetch(url, {
Expand Down
2 changes: 1 addition & 1 deletion extension-requests/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ async function createExtensionCard(data, dev) {
updateExtensionRequest({
id: data.id,
body: formData,
dev: dev,
underDevFeatureFlag: dev,
})
.then(() => {
data.reason = formData.reason;
Expand Down

0 comments on commit f64ab02

Please sign in to comment.