Fix legacy user query
This commit is contained in:
parent
93f64f4a2d
commit
bdb51921b3
|
@ -204,6 +204,6 @@ let trySecurityByToken token = backgroundTask {
|
|||
let legacy () = backgroundTask {
|
||||
return!
|
||||
dataSource ()
|
||||
|> Sql.query $"SELECT * FROM {Table.Citizen} WHERE c.data ->> 'isLegacy' = 'true'"
|
||||
|> Sql.query $"SELECT * FROM {Table.Citizen} WHERE data ->> 'isLegacy' = 'true'"
|
||||
|> Sql.executeAsync toDocument<Citizen>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user