Merge pull request 'minor refactor' (#10) from Virtual-branch into main
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 29s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 29s
Details
Reviewed-on: #10
This commit is contained in:
commit
696a6d53b6
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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,
|
Loading…
Reference in New Issue