mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-29 19:10:28 +01:00
Lint and update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import Translation from "App/Models/Translation";
|
||||
import Translation from 'App/Models/Translation'
|
||||
|
||||
export async function getTranslation(code: string): Promise<Translation> {
|
||||
return await Translation.firstOrNew({code}, {code})
|
||||
return await Translation.firstOrNew({ code }, { code })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user