Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/queries/link.queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ async function create(params) {
}

async function remove(match) {
const link = await knex("links").where(match).first();
const link = await find(match);

if (!link) {
return { isRemoved: false, error: "Could not find the link.", link: null }
Expand Down