Skip to content

Commit

Permalink
fix: ceramic tags check
Browse files Browse the repository at this point in the history
  • Loading branch information
L03TJ3 committed Mar 4, 2024
1 parent 963fffd commit aae7b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ceramic/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const serializeDocument = (document: any) => {
const { id, content } = document
const tags = content?.tags || []

if (!tags.length === 0 && !tags.find(tag => tag.slug === 'publishWallet')) {
if (tags.length !== 0 && !tags.find(tag => tag.slug === 'publishWallet')) {
return
}

Expand Down

0 comments on commit aae7b90

Please sign in to comment.