Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@whitdog47
Copy link
Contributor

Fix to move avatar URL template to .env file for easy configuration by organization.

@whitdog47 whitdog47 added the bug Something isn't working label Jul 31, 2023
if (userId) {
// to use avatar template, store in .env file and
// put * as a placeholder for the userid
const stem = avatarTemplate.replace("*", userId)

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding

This replaces only the first occurrence of "*".
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not relevant since we only want to replace the first occurrence.

@whitdog47 whitdog47 requested a review from wssheldon July 31, 2023 22:59
@whitdog47 whitdog47 merged commit 48985b6 into master Aug 1, 2023
@whitdog47 whitdog47 deleted the bug/moving-avatar-url-to-config branch August 1, 2023 02:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants