Skip to content

Commit

Permalink
Issue #217 fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois-Werbrouck committed Nov 29, 2024
1 parent b29424a commit 204e7e8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fertiscan/db/bytebase/OLAP/organization_triggers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ BEGIN
END IF;
RETURN OLD;
END;
$$ LANGUAGE plpgsql;
$$ LANGUAGE plpgsql;
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@ BEGIN
RETURN result_json;
END;
$function$;

Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ BEGIN
END LOOP;
END LOOP;
END;
$$ LANGUAGE plpgsql;
$$ LANGUAGE plpgsql;
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ END IF;
RETURN org_id;
END;
$function$;

2 changes: 1 addition & 1 deletion fertiscan/db/queries/sub_label/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def update_sub_label(cursor: Cursor, sub_label_id, text_fr, text_en, edited=True
"""
cursor.execute(query, (text_fr, text_en, edited, sub_label_id))

def update_sub_label_function(cursor: Cursor, label_id):
def update_sub_label_function(cursor: Cursor, sub_label_id, text_fr, text_en, edited=True):
"""
This function updates the sub label in the database.
Expand Down

0 comments on commit 204e7e8

Please sign in to comment.