Fix typo accessing q's promise constructor