Skip to content

Commit

Permalink
fix: multiple users using same custom url
Browse files Browse the repository at this point in the history
Resolves #383
  • Loading branch information
poeti8 committed Oct 12, 2020
1 parent c2b30a0 commit f03c697
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/handlers/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export const create: Handler = async (req: CreateLinkReq, res) => {
customurl &&
query.link.find({
address: customurl,
user_id: req.user.id,
domain_id
}),
!customurl && utils.generateId(domain_id),
Expand Down

0 comments on commit f03c697

Please sign in to comment.