mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 15:49:46 +02:00
feat: Languages with country codes
This commit is contained in:
parent
79ad1836a8
commit
07e1903bb5
83 changed files with 211 additions and 99 deletions
|
@ -15,7 +15,7 @@ module.exports.up = async (knex) => {
|
|||
const attachments = await knex('attachment');
|
||||
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
for (attachment of attachments) {
|
||||
for (const attachment of attachments) {
|
||||
if (attachment.is_image) {
|
||||
const image = sharp(
|
||||
path.join(config.custom.attachmentsPath, attachment.dirname, attachment.filename),
|
||||
|
@ -54,7 +54,7 @@ module.exports.down = async (knex) => {
|
|||
const attachments = await knex('attachment');
|
||||
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
for (attachment of attachments) {
|
||||
for (const attachment of attachments) {
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await knex('attachment')
|
||||
.update({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue