From ab63c911baae2684730433e041e005525030de22 Mon Sep 17 00:00:00 2001 From: hookor Date: Wed, 28 Aug 2024 14:39:00 +0900 Subject: [PATCH] fix: rearrange query paramsorder --- models/posts-queries.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/posts-queries.js b/models/posts-queries.js index 5b34009..f3f72a6 100644 --- a/models/posts-queries.js +++ b/models/posts-queries.js @@ -17,8 +17,8 @@ const queries = { 'caffeine', 'photo', 'public_id', - 'description', - 'intensity' + 'intensity', + 'description' ]), deletePost: query.buildDelete('post', ['public_id']), writeComment: query.buildInsert('comment', ['user_id', 'post_id', 'content']),