Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #67 from NavigoLearn/master
Browse files Browse the repository at this point in the history
push to staging
  • Loading branch information
sopyb authored Sep 25, 2023
2 parents a1fa732 + 77ba3e3 commit 36e2c0e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pingMonorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Sync Submodule
on:
push:
branches:
- prod
- production

jobs:
sync:
Expand Down
2 changes: 1 addition & 1 deletion env
Submodule env updated from a9f299 to 89854d
2 changes: 2 additions & 0 deletions src/util/ProfanityFilter/ProfanityFilterUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export function checkArrayProfanity(arr: unknown[]): boolean {
export function checkObjectProfanity(
obj: Record<string, never> | object,
): boolean {
obj ??= {};

return Object.values(obj).some((value) => {
if (typeof value === 'string') {
return checkStringProfanity(value);
Expand Down

0 comments on commit 36e2c0e

Please sign in to comment.