Remove unneeded argument

This commit is contained in:
Daniel Lugo 2022-01-17 13:33:15 -04:00
parent 6b9061fd64
commit 20daae57ba

View file

@ -2021,12 +2021,10 @@ module.exports = async (
app.post(`/api/gun/wall/`, async (req, res) => { app.post(`/api/gun/wall/`, async (req, res) => {
try { try {
const { tags, title, contentItems, enableTipsOverlay } = req.body const { tags, title, contentItems, enableTipsOverlay } = req.body
const SEA = require('../services/gunDB/Mediator').mySEA
const postRes = await GunActions.createPostNew( const postRes = await GunActions.createPostNew(
tags, tags,
title, title,
contentItems, contentItems
SEA
) )
if (enableTipsOverlay) { if (enableTipsOverlay) {
const [postID] = postRes const [postID] = postRes