feat(api/rss3): change platform to RSSHub
This commit is contained in:
parent
e08ad948da
commit
bcc2a05e0b
|
|
@ -4,6 +4,7 @@ import rss3 from './rss3';
|
|||
const NETWORK = 'rsshub';
|
||||
const TAG = 'RSS';
|
||||
const TYPE = 'feed';
|
||||
const PLATFORM = 'RSSHub';
|
||||
|
||||
describe('rss3', () => {
|
||||
it('should return UMS Result', () => {
|
||||
|
|
@ -48,7 +49,7 @@ describe('rss3', () => {
|
|||
{
|
||||
tag: TAG,
|
||||
type: TYPE,
|
||||
platform: 'example.com',
|
||||
platform: PLATFORM,
|
||||
from: 'example.com',
|
||||
to: 'example.com',
|
||||
metadata: {
|
||||
|
|
@ -77,7 +78,7 @@ describe('rss3', () => {
|
|||
{
|
||||
tag: TAG,
|
||||
type: TYPE,
|
||||
platform: 'example.com',
|
||||
platform: PLATFORM,
|
||||
from: 'example.com',
|
||||
to: 'example.com',
|
||||
metadata: {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import dayjs from 'dayjs';
|
|||
const NETWORK = 'rsshub';
|
||||
const TAG = 'RSS';
|
||||
const TYPE = 'feed';
|
||||
const PLATFORM = 'RSSHub';
|
||||
|
||||
const rss3 = (data) => {
|
||||
const currentUnixTsp = dayjs().unix();
|
||||
|
|
@ -29,7 +30,7 @@ const rss3 = (data) => {
|
|||
{
|
||||
tag: TAG,
|
||||
type: TYPE,
|
||||
platform: owner,
|
||||
platform: PLATFORM,
|
||||
from: owner,
|
||||
to: owner,
|
||||
metadata: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue