Skip to content

Commit cb4f69c

Browse files
Change affVar to constant
1 parent bfda2c7 commit cb4f69c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api-js/src/affiliation/loaders/load-affiliation-connections-by-org-id.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { t } from '@lingui/macro'
55
export const loadAffiliationConnectionsByOrgId =
66
({ query, userKey, cleanseInput, i18n }) =>
77
async ({ orgId, after, before, first, last, orderBy, search }) => {
8-
let affVar = aql`LET affVar = DOCUMENT(users, PARSE_IDENTIFIER(affiliation._to).key)`
8+
const affVar = aql`LET affVar = DOCUMENT(users, PARSE_IDENTIFIER(affiliation._to).key)`
99
let afterTemplate = aql``
1010
let afterVar = aql``
1111
if (typeof after !== 'undefined') {

0 commit comments

Comments
 (0)