Prevent updating deleted accounts

pull/207/head
M66B 3 years ago
parent 55765d6617
commit 31a215d92b

@ -155,7 +155,8 @@ public interface DaoAccount {
@Query("SELECT * FROM account" + @Query("SELECT * FROM account" +
" WHERE user = :user" + " WHERE user = :user" +
" AND auth_type IN (:auth_type)") " AND auth_type IN (:auth_type)" +
" AND tbd IS NULL")
List<EntityAccount> getAccounts(String user, int[] auth_type); List<EntityAccount> getAccounts(String user, int[] auth_type);
@Query("SELECT * FROM account WHERE `primary`") @Query("SELECT * FROM account WHERE `primary`")

Loading…
Cancel
Save