minor refactor
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details

This commit is contained in:
Ladd Hoffman 2024-04-27 19:19:53 -05:00
parent 6cca9a1d95
commit d568c08cce
5 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
const { getClient } = require('../matrix-bot');
const { matrixUserToAuthorAddress } = require('../util/db');
const write = require('./write');
const write = require('../util/forum/write');
const { dao } = require('../util/contracts');
const {

View File

@ -6,7 +6,7 @@ const Promise = require('bluebird');
const objectHash = require('object-hash');
const { authorAddresses, authorPrivKeys } = require('../util/db');
const { dao } = require('../util/contracts');
const write = require('./write');
const write = require('../util/forum/write');
// Each post allocates 30% of its reputation to citations
const PPM_TO_CITATIONS = 300000;

View File

@ -2,8 +2,8 @@ const express = require('express');
require('express-async-errors');
const read = require('./read');
const write = require('./write');
const read = require('../util/forum/read');
const write = require('../util/forum/write');
const importFromSS = require('./import-from-ss');
const importFromMatrix = require('./import-from-matrix');

View File

@ -1,7 +1,7 @@
const objectHash = require('object-hash');
const verifySignature = require('../util/verify-signature');
const { forum } = require('../util/db');
const verifySignature = require('../verify-signature');
const { forum } = require('../db');
const read = async (hash) => {
// Fetch content

View File

@ -1,7 +1,7 @@
const objectHash = require('object-hash');
const verifySignature = require('../util/verify-signature');
const { forum } = require('../util/db');
const verifySignature = require('../verify-signature');
const { forum } = require('../db');
const write = async ({
authors, content, citations, embeddedData, signature,