docs: Stop assuming the user's gender in code comments (no-changelog) (#6015)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-04-19 16:00:49 +02:00
committed by GitHub
parent 9817a15da4
commit c87262a312
95 changed files with 306 additions and 306 deletions

View File

@@ -23,7 +23,7 @@ export = {
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
// user does not have workflows hence no executions
// or the execution he is trying to access belongs to a workflow he does not own
// or the execution they are trying to access belongs to a workflow they do not own
if (!sharedWorkflowsIds.length) {
return res.status(404).json({ message: 'Not Found' });
}
@@ -52,7 +52,7 @@ export = {
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
// user does not have workflows hence no executions
// or the execution he is trying to access belongs to a workflow he does not own
// or the execution they are trying to access belongs to a workflow they do not own
if (!sharedWorkflowsIds.length) {
return res.status(404).json({ message: 'Not Found' });
}
@@ -90,7 +90,7 @@ export = {
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
// user does not have workflows hence no executions
// or the execution he is trying to access belongs to a workflow he does not own
// or the execution they are trying to access belongs to a workflow they do not own
if (!sharedWorkflowsIds.length || (workflowId && !sharedWorkflowsIds.includes(workflowId))) {
return res.status(200).json({ data: [], nextCursor: null });
}