Commit 24fbb860 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Remove useless "await".

parent 93d0afbc
......@@ -5,7 +5,7 @@ import { db, extractDataFromEntry } from "../database"
export { Acteur }
export const getActeur = async (uid: string): Promise<Acteur> => {
return await extractDataFromEntry(
return extractDataFromEntry(
await db.oneOrNone(
`
SELECT *
......
......@@ -5,7 +5,7 @@ import { db, extractDataFromEntry } from "../database"
export { Amendement }
export const getAmendement = async (uid: string): Promise<Amendement> => {
return await extractDataFromEntry(
return extractDataFromEntry(
await db.oneOrNone(
`
SELECT *
......
......@@ -6,7 +6,7 @@ import { db, extractDataFromEntry } from "../database"
export { Division, Document }
export const getDocument = async (uid: string): Promise<Document> => {
return await extractDataFromEntry(
return extractDataFromEntry(
await db.oneOrNone(
`
SELECT *
......
......@@ -5,7 +5,7 @@ import { db, extractDataFromEntry } from "../database"
export { ActeLegislatif, DossierParlementaire }
export const getDossier = async (uid: string): Promise<DossierParlementaire> => {
return await extractDataFromEntry(
return extractDataFromEntry(
await db.oneOrNone(
`
SELECT *
......
......@@ -5,7 +5,7 @@ import { db, extractDataFromEntry } from "../database"
export { Organe }
export const getOrgane = async (uid: string): Promise<Organe> => {
return await extractDataFromEntry(
return extractDataFromEntry(
await db.oneOrNone(
`
SELECT *
......
......@@ -5,7 +5,7 @@ import { db, extractDataFromEntry } from "../database"
export { Reunion }
export const getReunion = async (uid: string): Promise<Reunion> => {
return await extractDataFromEntry(
return extractDataFromEntry(
await db.oneOrNone(
`
SELECT *
......
......@@ -5,7 +5,7 @@ import { db, extractDataFromEntry } from "../database"
export { Scrutin }
export const getScrutin = async (uid: string): Promise<Scrutin> => {
return await extractDataFromEntry(
return extractDataFromEntry(
await db.oneOrNone(
`
SELECT *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment