Fixed copy-paste error

This commit is contained in:
2020-10-09 13:27:05 +01:00
parent a01af77bcd
commit 7e79c2efe9
3 changed files with 6 additions and 5 deletions

View File

@@ -508,7 +508,7 @@ int modbUnlink_Group_User(stored_conn *sconn, modb_ref *modb,
int64_t qry_ret;
modbTableName(&table, &table_len, modb, USER_GROUPS_TABLE, STR_LEN(USER_GROUPS_TABLE));
qry_ret = addIdMap(sconn, table, table_len, "group_id", "user_id", group_id, user_id);
qry_ret = removeIdMap(sconn, table, table_len, "group_id", "user_id", group_id, user_id);
modbFreeTableName(&table);
return (int)qry_ret;