sonicjs
sonicjs copied to clipboard
Check if content is already assigned a tag before adding tag to content
https://github.com/lane711/sonicjs/blob/feature/graphql-redo/server/schema/schema.js#L290
Currently the code doesn't check to make sure we're not duplicating the tags or content in both collections. We need to add only if they don't already exist